Add dynamic builkd for rome/imex
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
const IS_ROME = process.env.APP_VARIANT === 'ROME';
|
||||
|
||||
export default ({ config }) => {
|
||||
//console.log("Expo", JSON.stringify(config, null, 2))
|
||||
return ({
|
||||
|
||||
const newConfig = ({
|
||||
...config,
|
||||
name: IS_ROME ? "Rome Mobile" : "ImEX Mobile",
|
||||
slug: IS_ROME ? "rome-mobile" : "imexmobile",
|
||||
extra: {
|
||||
...config.extra,
|
||||
appVariant: process.env.APP_VARIANT || 'IMEX',
|
||||
eas: {
|
||||
...config.extra.eas,
|
||||
projectId: IS_ROME ? "df105e21-a07f-4425-af10-2200a7704a48" : "ffe01f3a-d507-4698-82cd-da1f1cad450b"
|
||||
@@ -54,4 +55,7 @@ export default ({ config }) => {
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
console.log("New Expo Config:", JSON.stringify(newConfig, null, 2));
|
||||
return newConfig;
|
||||
};
|
||||
Reference in New Issue
Block a user