Wire Firebase services files per app variant
This commit is contained in:
@@ -5,10 +5,14 @@ const variants = {
|
|||||||
production: {
|
production: {
|
||||||
name: "Paseo",
|
name: "Paseo",
|
||||||
packageId: "sh.paseo",
|
packageId: "sh.paseo",
|
||||||
|
googleServicesFile: "./.secrets/google-services.prod.json",
|
||||||
|
googleServiceInfoPlist: "./.secrets/GoogleService-Info.prod.plist",
|
||||||
},
|
},
|
||||||
development: {
|
development: {
|
||||||
name: "Paseo Debug",
|
name: "Paseo Debug",
|
||||||
packageId: "sh.paseo.debug",
|
packageId: "sh.paseo.debug",
|
||||||
|
googleServicesFile: "./.secrets/google-services.debug.json",
|
||||||
|
googleServiceInfoPlist: "./.secrets/GoogleService-Info.debug.plist",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -38,6 +42,7 @@ export default {
|
|||||||
ITSAppUsesNonExemptEncryption: false,
|
ITSAppUsesNonExemptEncryption: false,
|
||||||
},
|
},
|
||||||
bundleIdentifier: variant.packageId,
|
bundleIdentifier: variant.packageId,
|
||||||
|
googleServicesFile: variant.googleServiceInfoPlist,
|
||||||
},
|
},
|
||||||
android: {
|
android: {
|
||||||
adaptiveIcon: {
|
adaptiveIcon: {
|
||||||
@@ -57,6 +62,7 @@ export default {
|
|||||||
"android.permission.CAMERA",
|
"android.permission.CAMERA",
|
||||||
],
|
],
|
||||||
package: variant.packageId,
|
package: variant.packageId,
|
||||||
|
googleServicesFile: variant.googleServicesFile,
|
||||||
},
|
},
|
||||||
web: {
|
web: {
|
||||||
output: "single",
|
output: "single",
|
||||||
|
|||||||
Reference in New Issue
Block a user