From 989b494f6d01704819f5d6110c625b0a20a469db Mon Sep 17 00:00:00 2001 From: Nicolas Gruber Date: Wed, 10 May 2023 09:19:56 -0700 Subject: [PATCH] bundle id ios = package name android --- ios/Podfile.lock | 2 +- ios/Runner.xcodeproj/project.pbxproj | 6 +++--- ios/Runner/GoogleService-Info.plist | 6 +++--- ios/Runner/Info.plist | 4 ++-- ios/firebase_app_id_file.json | 2 +- lib/firebase_options.dart | 19 +++++++------------ 6 files changed, 17 insertions(+), 22 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 82a810a..f78bd75 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -839,4 +839,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 7d6b9db9243dbc65e9914f56de22b83205a8e90d -COCOAPODS: 1.11.3 +COCOAPODS: 1.12.1 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index edf9ba2..dc69255 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -375,7 +375,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = ""; - PRODUCT_BUNDLE_IDENTIFIER = oggauergemeindetrommler; + PRODUCT_BUNDLE_IDENTIFIER = com.oggauergemeindetrommler.app; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; @@ -515,7 +515,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = ""; - PRODUCT_BUNDLE_IDENTIFIER = oggauergemeindetrommler; + PRODUCT_BUNDLE_IDENTIFIER = com.oggauergemeindetrommler.app; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; @@ -547,7 +547,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = ""; - PRODUCT_BUNDLE_IDENTIFIER = oggauergemeindetrommler; + PRODUCT_BUNDLE_IDENTIFIER = com.oggauergemeindetrommler.app; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; diff --git a/ios/Runner/GoogleService-Info.plist b/ios/Runner/GoogleService-Info.plist index 331f12d..2b680b8 100644 --- a/ios/Runner/GoogleService-Info.plist +++ b/ios/Runner/GoogleService-Info.plist @@ -13,11 +13,11 @@ PLIST_VERSION 1 BUNDLE_ID - gemeinde-trommler.appspot.com + oggauergemeindetrommler PROJECT_ID gemeinde-trommler STORAGE_BUCKET - gemeinde-trommler + gemeinde-trommler.appspot.com IS_ADS_ENABLED IS_ANALYTICS_ENABLED @@ -29,6 +29,6 @@ IS_SIGNIN_ENABLED GOOGLE_APP_ID - 1:576683162451:ios:bfd658742514a7d2083fa6 + 1:576683162451:ios:9033f27a309e6250083fa6 \ No newline at end of file diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index c91f03f..bedccd6 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -11,11 +11,11 @@ CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) + com.oggauergemeindetrommler.app CFBundleInfoDictionaryVersion 6.0 CFBundleName - gemeinde-trommler.appspot.com + com.oggauergemeindetrommler.app CFBundlePackageType APPL CFBundleShortVersionString diff --git a/ios/firebase_app_id_file.json b/ios/firebase_app_id_file.json index 7fa82f9..ab71f5f 100644 --- a/ios/firebase_app_id_file.json +++ b/ios/firebase_app_id_file.json @@ -1,7 +1,7 @@ { "file_generated_by": "FlutterFire CLI", "purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory", - "GOOGLE_APP_ID": "1:576683162451:ios:bfd658742514a7d2083fa6", + "GOOGLE_APP_ID": "1:576683162451:ios:956de34e2dbeec89083fa6", "FIREBASE_PROJECT_ID": "gemeinde-trommler", "GCM_SENDER_ID": "576683162451" } \ No newline at end of file diff --git a/lib/firebase_options.dart b/lib/firebase_options.dart index 284bfb8..a0b2b7d 100644 --- a/lib/firebase_options.dart +++ b/lib/firebase_options.dart @@ -24,7 +24,10 @@ class DefaultFirebaseOptions { } switch (defaultTargetPlatform) { case TargetPlatform.android: - return android; + throw UnsupportedError( + 'DefaultFirebaseOptions have not been configured for android - ' + 'you can reconfigure this by running the FlutterFire CLI again.', + ); case TargetPlatform.iOS: return ios; case TargetPlatform.macOS: @@ -49,21 +52,13 @@ class DefaultFirebaseOptions { } } - static const FirebaseOptions android = FirebaseOptions( - apiKey: 'AIzaSyAWjSjX1f2rGUGHLbXQS873DYY_oXqcHhs', - appId: '1:576683162451:android:48edba9829ee7925083fa6', - messagingSenderId: '576683162451', - projectId: 'gemeinde-trommler', - storageBucket: 'gemeinde-trommler.appspot.com', - ); - static const FirebaseOptions ios = FirebaseOptions( apiKey: 'AIzaSyDV441PhkPEC7igZmYMpJ_axLMc2bKQ5fY', - appId: '1:576683162451:ios:bfd658742514a7d2083fa6', + appId: '1:576683162451:ios:956de34e2dbeec89083fa6', messagingSenderId: '576683162451', projectId: 'gemeinde-trommler', storageBucket: 'gemeinde-trommler.appspot.com', - iosClientId: '576683162451-fsmb243l472p04mgcmg2lcg7cjreftu4.apps.googleusercontent.com', - iosBundleId: 'oggauergemeindetrommler', + iosClientId: '576683162451-c1b1lafcof6oi2l25lb9qh0q1dqh1dhr.apps.googleusercontent.com', + iosBundleId: 'com.oggauergemeindetrommler.app', ); }