Wire Firebase services files per app variant

This commit is contained in:
Mohamed Boudra
2026-02-16 21:21:04 +07:00
parent 427e3daca9
commit c371dc92a5
+6
View File
@@ -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",