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 }) => {
if (process.env.EXPO_TV != "1") {
if (process.env.EXPO_TV !== "1") {
config.plugins.push([
"react-native-google-cast",
{ useDefaultExpandedMediaControls: true },
]);
}
return {
android: {
googleServicesFile: process.env.GOOGLE_SERVICES_JSON,
},
...config,
};
};

View File

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