Skip to content

Commit b54e01d

Browse files
committed
fix: configure iOS Firebase app
1 parent d86a896 commit b54e01d

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

firebase.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
"ios": {
1717
"default": {
1818
"projectId": "ontime-c63f1",
19-
"appId": "1:456571312261:ios:178b698fd005a63c7e71ec",
19+
"appId": "1:456571312261:ios:0224dcabd68996867e71ec",
2020
"uploadDebugSymbols": false,
21-
"fileOutput": "ios/Runner/GoogleService-Info.plist"
21+
"fileOutput": "ios/GoogleService-Info.plist"
2222
}
2323
},
2424
"dart": {
2525
"lib/firebase_options.dart": {
2626
"projectId": "ontime-c63f1",
2727
"configurations": {
2828
"android": "1:456571312261:android:b3574e6f89d21a467e71ec",
29-
"ios": "1:456571312261:ios:178b698fd005a63c7e71ec",
29+
"ios": "1:456571312261:ios:0224dcabd68996867e71ec",
3030
"web": "1:456571312261:web:1d7c24d90acdc27d7e71ec"
3131
}
3232
}

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@
528528
"$(inherited)",
529529
"@executable_path/Frameworks",
530530
);
531-
PRODUCT_BUNDLE_IDENTIFIER = club.devkor.ontime;
531+
PRODUCT_BUNDLE_IDENTIFIER = club.devkor.ontime.ios;
532532
PRODUCT_NAME = "$(TARGET_NAME)";
533533
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
534534
SWIFT_VERSION = 5.0;
@@ -712,7 +712,7 @@
712712
"$(inherited)",
713713
"@executable_path/Frameworks",
714714
);
715-
PRODUCT_BUNDLE_IDENTIFIER = club.devkor.ontime;
715+
PRODUCT_BUNDLE_IDENTIFIER = club.devkor.ontime.ios;
716716
PRODUCT_NAME = "$(TARGET_NAME)";
717717
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
718718
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -736,7 +736,7 @@
736736
"$(inherited)",
737737
"@executable_path/Frameworks",
738738
);
739-
PRODUCT_BUNDLE_IDENTIFIER = club.devkor.ontime;
739+
PRODUCT_BUNDLE_IDENTIFIER = club.devkor.ontime.ios;
740740
PRODUCT_NAME = "$(TARGET_NAME)";
741741
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
742742
SWIFT_VERSION = 5.0;

lib/firebase_options.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ class DefaultFirebaseOptions {
6666

6767
static const FirebaseOptions ios = FirebaseOptions(
6868
apiKey: 'AIzaSyD9sTpL3rDqyuP8o7OQfVHJVcOgEyGuwRs',
69-
appId: '1:456571312261:ios:c2b75e7959945f717e71ec',
69+
appId: '1:456571312261:ios:0224dcabd68996867e71ec',
7070
messagingSenderId: '456571312261',
7171
projectId: 'ontime-c63f1',
7272
storageBucket: 'ontime-c63f1.firebasestorage.app',
73-
iosClientId: '456571312261-r35ah9qi0qaq7al007e2db0e0jmjcmb4.apps.googleusercontent.com',
74-
iosBundleId: 'club.devkor.ontime',
73+
iosClientId: '456571312261-e0g33a9qnct35j1uud89dmfcnv9lffeq.apps.googleusercontent.com',
74+
iosBundleId: 'club.devkor.ontime.ios',
7575
);
7676
}

lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ void main() async {
1313
AppLogger.configureFlutterDebugPrint();
1414
await HardwareKeyboard.instance.syncKeyboardState().catchError((_) {});
1515
await initializeDateFormatting();
16-
configureDependencies();
1716
await Firebase.initializeApp(
1817
options: DefaultFirebaseOptions.currentPlatform,
1918
);
2019
AppLogger.debug('[FCM Main] Firebase initialized');
20+
configureDependencies();
2121

2222
AppLogger.debug(
2323
'Device standalone mode=${DeviceInfoService.isInStandaloneMode}',

0 commit comments

Comments
 (0)