mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
fix: env
This commit is contained in:
@@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
9
eas.json
9
eas.json
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user