This commit is contained in:
Fredrik Burmester
2025-03-17 09:56:24 +01:00
parent 2932a7b324
commit 0b22f28bb6
2 changed files with 12 additions and 2 deletions

View File

@@ -1,11 +1,14 @@
module.exports = ({ config }) => { module.exports = ({ config }) => {
if (process.env.EXPO_TV != "1") { if (process.env.EXPO_TV !== "1") {
config.plugins.push([ config.plugins.push([
"react-native-google-cast", "react-native-google-cast",
{ useDefaultExpandedMediaControls: true }, { useDefaultExpandedMediaControls: true },
]); ]);
} }
return { return {
android: {
googleServicesFile: process.env.GOOGLE_SERVICES_JSON,
},
...config, ...config,
}; };
}; };

View File

@@ -34,7 +34,11 @@
"production": { "production": {
"channel": "0.27.0", "channel": "0.27.0",
"android": { "android": {
"image": "latest" "image": "latest",
"buildType": "app-bundle"
},
"env": {
"GOOGLE_SERVICES_JSON": "GOOGLE_SERVICES_JSON"
} }
}, },
"production-apk": { "production-apk": {
@@ -42,6 +46,9 @@
"android": { "android": {
"buildType": "apk", "buildType": "apk",
"image": "latest" "image": "latest"
},
"env": {
"GOOGLE_SERVICES_JSON": "GOOGLE_SERVICES_JSON"
} }
}, },
"production-apk-tv": { "production-apk-tv": {