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