fix: update Firebase configuration for dev and staging environments
This commit is contained in:
@@ -31,10 +31,10 @@
|
|||||||
"client_type": 3
|
"client_type": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"client_id": "933560802882-qgbq6m04moicvkff2b3i6p9agu7i4gou.apps.googleusercontent.com",
|
"client_id": "933560802882-dppsapp5i3lsfrlm1mhob2s21peofg1t.apps.googleusercontent.com",
|
||||||
"client_type": 2,
|
"client_type": 2,
|
||||||
"ios_info": {
|
"ios_info": {
|
||||||
"bundle_id": "com.krow.app.dev"
|
"bundle_id": "com.krow.app.staff.dev"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -43,9 +43,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"client_info": {
|
"client_info": {
|
||||||
"mobilesdk_app_id": "1:933560802882:android:f4587798877cbb917757db",
|
"mobilesdk_app_id": "1:933560802882:android:d49b8c0f4d19e95e7757db",
|
||||||
"android_client_info": {
|
"android_client_info": {
|
||||||
"package_name": "com.krow.app.dev"
|
"package_name": "com.krow.app.staff.dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"oauth_client": [
|
"oauth_client": [
|
||||||
@@ -67,10 +67,10 @@
|
|||||||
"client_type": 3
|
"client_type": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"client_id": "933560802882-qgbq6m04moicvkff2b3i6p9agu7i4gou.apps.googleusercontent.com",
|
"client_id": "933560802882-dppsapp5i3lsfrlm1mhob2s21peofg1t.apps.googleusercontent.com",
|
||||||
"client_type": 2,
|
"client_type": 2,
|
||||||
"ios_info": {
|
"ios_info": {
|
||||||
"bundle_id": "com.krow.app.dev"
|
"bundle_id": "com.krow.app.staff.dev"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -26,9 +26,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"client_info": {
|
"client_info": {
|
||||||
"mobilesdk_app_id": "1:1032971403708:android:87edb39679f806ab356bb9",
|
"mobilesdk_app_id": "1:1032971403708:android:6e5031c203f01cc2356bb9",
|
||||||
"android_client_info": {
|
"android_client_info": {
|
||||||
"package_name": "com.krow.app.staging"
|
"package_name": "com.krow.app.staff.staging"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"oauth_client": [],
|
"oauth_client": [],
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
"platforms": {
|
"platforms": {
|
||||||
"android": {
|
"android": {
|
||||||
"default": {
|
"default": {
|
||||||
"projectId": "krow-staging",
|
"projectId": "krow-workforce-dev",
|
||||||
"appId": "1:14482748607:android:85b147490ff76b6924820a",
|
"appId": "1:933560802882:android:edcddb83ea4bbb517757db",
|
||||||
"fileOutput": "android/app/google-services.json"
|
"fileOutput": "android/app/src/dev/google-services.json"
|
||||||
},
|
},
|
||||||
"buildConfigurations": {
|
"buildConfigurations": {
|
||||||
"src/dev": {
|
"src/dev": {
|
||||||
@@ -22,13 +22,43 @@
|
|||||||
},
|
},
|
||||||
"ios": {
|
"ios": {
|
||||||
"default": {
|
"default": {
|
||||||
"projectId": "krow-staging",
|
"projectId": "krow-workforce-dev",
|
||||||
"appId": "1:14482748607:ios:229a7ce2d64cb09f24820a",
|
"appId": "1:933560802882:ios:7f0632ecbeff8f027757db",
|
||||||
"uploadDebugSymbols": false,
|
"uploadDebugSymbols": false,
|
||||||
"fileOutput": "ios/Runner/GoogleService-Info.plist"
|
"fileOutput": "ios/flavors/dev/GoogleService-Info.plist"
|
||||||
},
|
},
|
||||||
"targets": {
|
"buildConfigurations": {
|
||||||
"Runner": {
|
"Debug-dev": {
|
||||||
|
"projectId": "krow-workforce-dev",
|
||||||
|
"appId": "1:933560802882:ios:7f0632ecbeff8f027757db",
|
||||||
|
"uploadDebugSymbols": false,
|
||||||
|
"fileOutput": "ios/flavors/dev/GoogleService-Info.plist"
|
||||||
|
},
|
||||||
|
"Profile-dev": {
|
||||||
|
"projectId": "krow-workforce-dev",
|
||||||
|
"appId": "1:933560802882:ios:7f0632ecbeff8f027757db",
|
||||||
|
"uploadDebugSymbols": false,
|
||||||
|
"fileOutput": "ios/flavors/dev/GoogleService-Info.plist"
|
||||||
|
},
|
||||||
|
"Release-dev": {
|
||||||
|
"projectId": "krow-workforce-dev",
|
||||||
|
"appId": "1:933560802882:ios:7f0632ecbeff8f027757db",
|
||||||
|
"uploadDebugSymbols": false,
|
||||||
|
"fileOutput": "ios/flavors/dev/GoogleService-Info.plist"
|
||||||
|
},
|
||||||
|
"Debug-staging": {
|
||||||
|
"projectId": "krow-workforce-staging",
|
||||||
|
"appId": "1:1032971403708:ios:b1a21a7337a268b3356bb9",
|
||||||
|
"uploadDebugSymbols": false,
|
||||||
|
"fileOutput": "ios/flavors/staging/GoogleService-Info.plist"
|
||||||
|
},
|
||||||
|
"Profile-staging": {
|
||||||
|
"projectId": "krow-workforce-staging",
|
||||||
|
"appId": "1:1032971403708:ios:b1a21a7337a268b3356bb9",
|
||||||
|
"uploadDebugSymbols": false,
|
||||||
|
"fileOutput": "ios/flavors/staging/GoogleService-Info.plist"
|
||||||
|
},
|
||||||
|
"Release-staging": {
|
||||||
"projectId": "krow-workforce-staging",
|
"projectId": "krow-workforce-staging",
|
||||||
"appId": "1:1032971403708:ios:b1a21a7337a268b3356bb9",
|
"appId": "1:1032971403708:ios:b1a21a7337a268b3356bb9",
|
||||||
"uploadDebugSymbols": false,
|
"uploadDebugSymbols": false,
|
||||||
|
|||||||
@@ -293,6 +293,7 @@
|
|||||||
9705A1C41CF9048500538489 /* Embed Frameworks */,
|
9705A1C41CF9048500538489 /* Embed Frameworks */,
|
||||||
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
|
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
|
||||||
E648481602389E2D8F8AC745 /* [CP] Embed Pods Frameworks */,
|
E648481602389E2D8F8AC745 /* [CP] Embed Pods Frameworks */,
|
||||||
|
813D81FA3CE3C2588A3A04E8 /* FlutterFire: "flutterfire bundle-service-file" */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
@@ -404,6 +405,24 @@
|
|||||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
|
813D81FA3CE3C2588A3A04E8 /* FlutterFire: "flutterfire bundle-service-file" */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
);
|
||||||
|
name = "FlutterFire: \"flutterfire bundle-service-file\"";
|
||||||
|
outputFileListPaths = (
|
||||||
|
);
|
||||||
|
outputPaths = (
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "\n#!/bin/bash\nPATH=\"${PATH}:$FLUTTER_ROOT/bin:${PUB_CACHE}/bin:$HOME/.pub-cache/bin\"\nflutterfire bundle-service-file --plist-destination=\"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app\" --build-configuration=${CONFIGURATION} --platform=ios --apple-project-path=\"${SRCROOT}\"\n";
|
||||||
|
};
|
||||||
8BBA6BE72D3FC8D400FDA749 /* copy googleservices */ = {
|
8BBA6BE72D3FC8D400FDA749 /* copy googleservices */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
|
|||||||
@@ -66,4 +66,5 @@ class DefaultFirebaseOptions {
|
|||||||
iosClientId: '933560802882-ml2526jqnnsteent4i9li50c00hisoge.apps.googleusercontent.com',
|
iosClientId: '933560802882-ml2526jqnnsteent4i9li50c00hisoge.apps.googleusercontent.com',
|
||||||
iosBundleId: 'com.krow.app.business.dev',
|
iosBundleId: 'com.krow.app.business.dev',
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -65,4 +65,5 @@ class DefaultFirebaseOptions {
|
|||||||
storageBucket: 'krow-workforce-staging.firebasestorage.app',
|
storageBucket: 'krow-workforce-staging.firebasestorage.app',
|
||||||
iosBundleId: 'com.krow.app.business.staging',
|
iosBundleId: 'com.krow.app.business.staging',
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user