feat: update Firebase configuration for development environment and adjust related scripts
This commit is contained in:
@@ -76,6 +76,42 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:933560802882:android:d49b8c0f4d19e95e7757db",
|
||||
"android_client_info": {
|
||||
"package_name": "com.krow.app.staff.dev"
|
||||
}
|
||||
},
|
||||
"oauth_client": [
|
||||
{
|
||||
"client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com",
|
||||
"client_type": 3
|
||||
}
|
||||
],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyDBYhflhK6DThKnS7RM-9raKdvyKzLUjY4"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": [
|
||||
{
|
||||
"client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com",
|
||||
"client_type": 3
|
||||
},
|
||||
{
|
||||
"client_id": "933560802882-ml2526jqnnsteent4i9li50c00hisoge.apps.googleusercontent.com",
|
||||
"client_type": 2,
|
||||
"ios_info": {
|
||||
"bundle_id": "com.krow.app.business.dev"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
|
||||
@@ -1,92 +1 @@
|
||||
{
|
||||
"flutter": {
|
||||
"platforms": {
|
||||
"android": {
|
||||
"default": {
|
||||
"projectId": "krow-workforce-dev",
|
||||
"appId": "1:933560802882:android:f4587798877cbb917757db",
|
||||
"fileOutput": "android/app/google-services.json"
|
||||
},
|
||||
"buildConfigurations": {
|
||||
"src/dev": {
|
||||
"projectId": "krow-workforce-dev",
|
||||
"appId": "1:933560802882:android:f4587798877cbb917757db",
|
||||
"fileOutput": "android/app/src/dev/google-services.json"
|
||||
},
|
||||
"src/staging": {
|
||||
"projectId": "krow-workforce-staging",
|
||||
"appId": "1:1032971403708:android:87edb39679f806ab356bb9",
|
||||
"fileOutput": "android/app/src/staging/google-services.json"
|
||||
},
|
||||
"src/prod": {
|
||||
"projectId": "krow-workforce-production",
|
||||
"appId": "1:705380165824:android:e028f36e679701cbf1e525",
|
||||
"fileOutput": "android/app/src/prod/google-services.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ios": {
|
||||
"default": {
|
||||
"projectId": "krow-workforce-dev",
|
||||
"appId": "1:933560802882:ios:07becdd41ac6ca627757db",
|
||||
"uploadDebugSymbols": false,
|
||||
"fileOutput": "ios/Runner/GoogleService-Info.plist"
|
||||
},
|
||||
"buildConfigurations": {
|
||||
"Debug-dev": {
|
||||
"projectId": "krow-workforce-dev",
|
||||
"appId": "1:933560802882:ios:07becdd41ac6ca627757db",
|
||||
"uploadDebugSymbols": false,
|
||||
"fileOutput": "ios/flavors/dev/GoogleService-Info.plist"
|
||||
},
|
||||
"Profile-dev": {
|
||||
"projectId": "krow-workforce-dev",
|
||||
"appId": "1:933560802882:ios:07becdd41ac6ca627757db",
|
||||
"uploadDebugSymbols": false,
|
||||
"fileOutput": "ios/flavors/dev/GoogleService-Info.plist"
|
||||
},
|
||||
"Release-dev": {
|
||||
"projectId": "krow-workforce-dev",
|
||||
"appId": "1:933560802882:ios:07becdd41ac6ca627757db",
|
||||
"uploadDebugSymbols": false,
|
||||
"fileOutput": "ios/flavors/dev/GoogleService-Info.plist"
|
||||
},
|
||||
"Debug-staging": {
|
||||
"projectId": "krow-workforce-staging",
|
||||
"appId": "1:1032971403708:ios:1d9b09307e6f3983356bb9",
|
||||
"uploadDebugSymbols": false,
|
||||
"fileOutput": "ios/flavors/staging/GoogleService-Info.plist"
|
||||
},
|
||||
"Profile-staging": {
|
||||
"projectId": "krow-workforce-staging",
|
||||
"appId": "1:1032971403708:ios:1d9b09307e6f3983356bb9",
|
||||
"uploadDebugSymbols": false,
|
||||
"fileOutput": "ios/flavors/staging/GoogleService-Info.plist"
|
||||
},
|
||||
"Release-staging": {
|
||||
"projectId": "krow-workforce-staging",
|
||||
"appId": "1:1032971403708:ios:1d9b09307e6f3983356bb9",
|
||||
"uploadDebugSymbols": false,
|
||||
"fileOutput": "ios/flavors/staging/GoogleService-Info.plist"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dart": {
|
||||
"lib/firebase_options_dev.dart": {
|
||||
"projectId": "krow-workforce-dev",
|
||||
"configurations": {
|
||||
"android": "1:933560802882:android:f4587798877cbb917757db",
|
||||
"ios": "1:933560802882:ios:07becdd41ac6ca627757db"
|
||||
}
|
||||
},
|
||||
"lib/firebase_options_staging.dart": {
|
||||
"projectId": "krow-workforce-staging",
|
||||
"configurations": {
|
||||
"android": "1:1032971403708:android:87edb39679f806ab356bb9",
|
||||
"ios": "1:1032971403708:ios:1d9b09307e6f3983356bb9"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{"flutter":{"platforms":{"android":{"default":{"projectId":"krow-workforce-dev","appId":"1:933560802882:android:f4587798877cbb917757db","fileOutput":"android/app/google-services.json"},"buildConfigurations":{"src/dev":{"projectId":"krow-workforce-dev","appId":"1:933560802882:android:d49b8c0f4d19e95e7757db","fileOutput":"android/app/src/dev/google-services.json"},"src/staging":{"projectId":"krow-workforce-staging","appId":"1:1032971403708:android:87edb39679f806ab356bb9","fileOutput":"android/app/src/staging/google-services.json"},"src/prod":{"projectId":"krow-workforce-production","appId":"1:705380165824:android:e028f36e679701cbf1e525","fileOutput":"android/app/src/prod/google-services.json"}}},"ios":{"default":{"projectId":"krow-workforce-dev","appId":"1:933560802882:ios:07becdd41ac6ca627757db","uploadDebugSymbols":false,"fileOutput":"ios/Runner/GoogleService-Info.plist"},"buildConfigurations":{"Debug-dev":{"projectId":"krow-workforce-dev","appId":"1:933560802882:ios:7264452527da24537757db","uploadDebugSymbols":false,"fileOutput":"ios/flavors/dev/GoogleService-Info.plist"},"Profile-dev":{"projectId":"krow-workforce-dev","appId":"1:933560802882:ios:07becdd41ac6ca627757db","uploadDebugSymbols":false,"fileOutput":"ios/flavors/dev/GoogleService-Info.plist"},"Release-dev":{"projectId":"krow-workforce-dev","appId":"1:933560802882:ios:07becdd41ac6ca627757db","uploadDebugSymbols":false,"fileOutput":"ios/flavors/dev/GoogleService-Info.plist"},"Debug-staging":{"projectId":"krow-workforce-staging","appId":"1:1032971403708:ios:1d9b09307e6f3983356bb9","uploadDebugSymbols":false,"fileOutput":"ios/flavors/staging/GoogleService-Info.plist"},"Profile-staging":{"projectId":"krow-workforce-staging","appId":"1:1032971403708:ios:1d9b09307e6f3983356bb9","uploadDebugSymbols":false,"fileOutput":"ios/flavors/staging/GoogleService-Info.plist"},"Release-staging":{"projectId":"krow-workforce-staging","appId":"1:1032971403708:ios:1d9b09307e6f3983356bb9","uploadDebugSymbols":false,"fileOutput":"ios/flavors/staging/GoogleService-Info.plist"}}},"dart":{"lib/firebase_options_dev.dart":{"projectId":"krow-workforce-dev","configurations":{"android":"1:933560802882:android:d49b8c0f4d19e95e7757db","ios":"1:933560802882:ios:7264452527da24537757db"}},"lib/firebase_options_staging.dart":{"projectId":"krow-workforce-staging","configurations":{"android":"1:1032971403708:android:87edb39679f806ab356bb9","ios":"1:1032971403708:ios:1d9b09307e6f3983356bb9"}}}}}}
|
||||
@@ -11,27 +11,27 @@ case $1 in
|
||||
flutterfire config \
|
||||
--project=krow-workforce-dev \
|
||||
--out=lib/firebase_options_dev.dart \
|
||||
--ios-bundle-id=com.krow.app.dev \
|
||||
--ios-bundle-id=com.krow.app.staff.dev \
|
||||
--ios-out=ios/flavors/dev/GoogleService-Info.plist \
|
||||
--android-package-name=com.krow.app.dev \
|
||||
--android-package-name=com.krow.app.staff.dev \
|
||||
--android-out=android/app/src/dev/google-services.json
|
||||
;;
|
||||
staging)
|
||||
flutterfire config \
|
||||
--project=krow-workforce-staging \
|
||||
--out=lib/firebase_options_staging.dart \
|
||||
--ios-bundle-id=com.krow.app.staging \
|
||||
--ios-bundle-id=com.krow.app.staff.staging \
|
||||
--ios-out=ios/flavors/staging/GoogleService-Info.plist \
|
||||
--android-package-name=com.krow.app.staging \
|
||||
--android-package-name=com.krow.app.staff.staging \
|
||||
--android-out=android/app/src/staging/google-services.json
|
||||
;;
|
||||
prod)
|
||||
flutterfire config \
|
||||
--project=krow-workforce-dev \
|
||||
--out=lib/firebase_options_dev.dart \
|
||||
--ios-bundle-id=com.krow.app.dev \
|
||||
--ios-bundle-id=com.krow.app.staff.dev \
|
||||
--ios-out=ios/flavors/dev/GoogleService-Info.plist \
|
||||
--android-package-name=com.krow.app.dev \
|
||||
--android-package-name=com.krow.app.staff.dev \
|
||||
--android-out=android/app/src/dev/google-services.json
|
||||
;;
|
||||
*)
|
||||
|
||||
@@ -249,7 +249,7 @@
|
||||
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
|
||||
924B93AB74D97EF4B42824EC /* [CP] Embed Pods Frameworks */,
|
||||
8A3E049698DB74713226DAC2 /* [CP] Copy Pods Resources */,
|
||||
CA84EF6F10FA3C39D36D57BC /* FlutterFire: "flutterfire bundle-service-file" */,
|
||||
9FB2BFDDFD4635E632456623 /* FlutterFire: "flutterfire bundle-service-file" */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
@@ -457,7 +457,7 @@
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n";
|
||||
};
|
||||
CA84EF6F10FA3C39D36D57BC /* FlutterFire: "flutterfire bundle-service-file" */ = {
|
||||
9FB2BFDDFD4635E632456623 /* FlutterFire: "flutterfire bundle-service-file" */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CLIENT_ID</key>
|
||||
<string>933560802882-qgbq6m04moicvkff2b3i6p9agu7i4gou.apps.googleusercontent.com</string>
|
||||
<string>933560802882-dppsapp5i3lsfrlm1mhob2s21peofg1t.apps.googleusercontent.com</string>
|
||||
<key>REVERSED_CLIENT_ID</key>
|
||||
<string>com.googleusercontent.apps.933560802882-qgbq6m04moicvkff2b3i6p9agu7i4gou</string>
|
||||
<string>com.googleusercontent.apps.933560802882-dppsapp5i3lsfrlm1mhob2s21peofg1t</string>
|
||||
<key>API_KEY</key>
|
||||
<string>AIzaSyDyEXkzZAWpXXe4dAesYaZflt5BEtMn9tA</string>
|
||||
<key>GCM_SENDER_ID</key>
|
||||
@@ -13,7 +13,7 @@
|
||||
<key>PLIST_VERSION</key>
|
||||
<string>1</string>
|
||||
<key>BUNDLE_ID</key>
|
||||
<string>com.krow.app.dev</string>
|
||||
<string>com.krow.app.staff.dev</string>
|
||||
<key>PROJECT_ID</key>
|
||||
<string>krow-workforce-dev</string>
|
||||
<key>STORAGE_BUCKET</key>
|
||||
@@ -29,6 +29,6 @@
|
||||
<key>IS_SIGNIN_ENABLED</key>
|
||||
<true></true>
|
||||
<key>GOOGLE_APP_ID</key>
|
||||
<string>1:933560802882:ios:07becdd41ac6ca627757db</string>
|
||||
<string>1:933560802882:ios:7264452527da24537757db</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -51,7 +51,7 @@ class DefaultFirebaseOptions {
|
||||
|
||||
static const FirebaseOptions android = FirebaseOptions(
|
||||
apiKey: 'AIzaSyDBYhflhK6DThKnS7RM-9raKdvyKzLUjY4',
|
||||
appId: '1:933560802882:android:f4587798877cbb917757db',
|
||||
appId: '1:933560802882:android:d49b8c0f4d19e95e7757db',
|
||||
messagingSenderId: '933560802882',
|
||||
projectId: 'krow-workforce-dev',
|
||||
storageBucket: 'krow-workforce-dev.firebasestorage.app',
|
||||
@@ -59,12 +59,12 @@ class DefaultFirebaseOptions {
|
||||
|
||||
static const FirebaseOptions ios = FirebaseOptions(
|
||||
apiKey: 'AIzaSyDyEXkzZAWpXXe4dAesYaZflt5BEtMn9tA',
|
||||
appId: '1:933560802882:ios:07becdd41ac6ca627757db',
|
||||
appId: '1:933560802882:ios:7264452527da24537757db',
|
||||
messagingSenderId: '933560802882',
|
||||
projectId: 'krow-workforce-dev',
|
||||
storageBucket: 'krow-workforce-dev.firebasestorage.app',
|
||||
iosClientId: '933560802882-qgbq6m04moicvkff2b3i6p9agu7i4gou.apps.googleusercontent.com',
|
||||
iosBundleId: 'com.krow.app.dev',
|
||||
iosClientId: '933560802882-dppsapp5i3lsfrlm1mhob2s21peofg1t.apps.googleusercontent.com',
|
||||
iosBundleId: 'com.krow.app.staff.dev',
|
||||
);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user