From 5d1b875d3cd19a58f4a3b304c4d2ca9205626b7f Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Fri, 8 Aug 2025 19:41:48 +0800 Subject: [PATCH] :bug: Disable firebase on linux to prevent errors --- android/app/google-services.json | 22 ++++++++++++++++++++-- firebase.json | 2 +- ios/Runner/GoogleService-Info.plist | 6 ++++++ lib/firebase_options.dart | 10 +++++++--- macos/Runner/GoogleService-Info.plist | 6 ++++++ 5 files changed, 40 insertions(+), 6 deletions(-) diff --git a/android/app/google-services.json b/android/app/google-services.json index 60ae7d5..033a6c6 100644 --- a/android/app/google-services.json +++ b/android/app/google-services.json @@ -12,7 +12,12 @@ "package_name": "dev.solsynth.solian" } }, - "oauth_client": [], + "oauth_client": [ + { + "client_id": "961776991058-963m1qin2vtp8fv693b5fdrab5hmpl89.apps.googleusercontent.com", + "client_type": 3 + } + ], "api_key": [ { "current_key": "AIzaSyDvFNudXYs29uDtcCv6pFR8h5tXBs90FYk" @@ -20,7 +25,20 @@ ], "services": { "appinvite_service": { - "other_platform_oauth_client": [] + "other_platform_oauth_client": [ + { + "client_id": "961776991058-963m1qin2vtp8fv693b5fdrab5hmpl89.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "961776991058-stt7et4qvn3cpscl4r61gl1hnlatqkig.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "dev.solsynth.solian", + "app_store_id": "6499032345" + } + } + ] } } } diff --git a/firebase.json b/firebase.json index 9db83b1..1e65f2c 100644 --- a/firebase.json +++ b/firebase.json @@ -1 +1 @@ -{"flutter":{"platforms":{"android":{"default":{"projectId":"solian-0x001","appId":"1:961776991058:android:a8d3f7995b0b8e86f4188b","fileOutput":"android/app/google-services.json"}},"ios":{"default":{"projectId":"solian-0x001","appId":"1:961776991058:ios:727229d368cc47e1f4188b","uploadDebugSymbols":false,"fileOutput":"ios/Runner/GoogleService-Info.plist"}},"macos":{"default":{"projectId":"solian-0x001","appId":"1:961776991058:ios:727229d368cc47e1f4188b","uploadDebugSymbols":false,"fileOutput":"macos/Runner/GoogleService-Info.plist"}},"dart":{"lib/firebase_options.dart":{"projectId":"solian-0x001","configurations":{"android":"1:961776991058:android:a8d3f7995b0b8e86f4188b","ios":"1:961776991058:ios:727229d368cc47e1f4188b","macos":"1:961776991058:ios:727229d368cc47e1f4188b","web":"1:961776991058:web:b91d12f2892a5609f4188b","windows":"1:961776991058:web:3a912c0eb14028e5f4188b"}}}}}} \ No newline at end of file +{"flutter":{"platforms":{"android":{"default":{"projectId":"solian-0x001","appId":"1:961776991058:android:a8d3f7995b0b8e86f4188b","fileOutput":"android/app/google-services.json"}},"ios":{"default":{"projectId":"solian-0x001","appId":"1:961776991058:ios:727229d368cc47e1f4188b","uploadDebugSymbols":false,"fileOutput":"ios/Runner/GoogleService-Info.plist"}},"macos":{"default":{"projectId":"solian-0x001","appId":"1:961776991058:ios:727229d368cc47e1f4188b","uploadDebugSymbols":false,"fileOutput":"macos/Runner/GoogleService-Info.plist"}},"dart":{"lib/firebase_options.dart":{"projectId":"solian-0x001","configurations":{"android":"1:961776991058:android:a8d3f7995b0b8e86f4188b","ios":"1:961776991058:ios:727229d368cc47e1f4188b","macos":"1:961776991058:ios:727229d368cc47e1f4188b","web":"1:961776991058:web:3a912c0eb14028e5f4188b","windows":"1:961776991058:web:3a912c0eb14028e5f4188b"}}}}}} \ No newline at end of file diff --git a/ios/Runner/GoogleService-Info.plist b/ios/Runner/GoogleService-Info.plist index 3a05755..5083f50 100644 --- a/ios/Runner/GoogleService-Info.plist +++ b/ios/Runner/GoogleService-Info.plist @@ -2,6 +2,12 @@ + CLIENT_ID + 961776991058-stt7et4qvn3cpscl4r61gl1hnlatqkig.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.961776991058-stt7et4qvn3cpscl4r61gl1hnlatqkig + ANDROID_CLIENT_ID + 961776991058-r4iv9qoio57ul7utbfpgfrda2etvtch8.apps.googleusercontent.com API_KEY AIzaSyCzQIyiYKoYHTpGXhN-IjgMML8z797WVD8 GCM_SENDER_ID diff --git a/lib/firebase_options.dart b/lib/firebase_options.dart index 551f2c8..267e931 100644 --- a/lib/firebase_options.dart +++ b/lib/firebase_options.dart @@ -41,13 +41,13 @@ class DefaultFirebaseOptions { } static const FirebaseOptions web = FirebaseOptions( - apiKey: 'AIzaSyBKfIQpTouj5rXnlzkEieSlbAzepm4mgJE', - appId: '1:961776991058:web:b91d12f2892a5609f4188b', + apiKey: 'AIzaSyCfgOdlcr7h8x8j0WKx_S2wXnGkOopq320', + appId: '1:961776991058:web:3a912c0eb14028e5f4188b', messagingSenderId: '961776991058', projectId: 'solian-0x001', authDomain: 'solian-0x001.firebaseapp.com', storageBucket: 'solian-0x001.firebasestorage.app', - measurementId: 'G-XY3HHKG0PE', + measurementId: 'G-JD1YEG9D6F', ); static const FirebaseOptions android = FirebaseOptions( @@ -64,6 +64,8 @@ class DefaultFirebaseOptions { messagingSenderId: '961776991058', projectId: 'solian-0x001', storageBucket: 'solian-0x001.firebasestorage.app', + androidClientId: '961776991058-r4iv9qoio57ul7utbfpgfrda2etvtch8.apps.googleusercontent.com', + iosClientId: '961776991058-stt7et4qvn3cpscl4r61gl1hnlatqkig.apps.googleusercontent.com', iosBundleId: 'dev.solsynth.solian', ); @@ -73,6 +75,8 @@ class DefaultFirebaseOptions { messagingSenderId: '961776991058', projectId: 'solian-0x001', storageBucket: 'solian-0x001.firebasestorage.app', + androidClientId: '961776991058-r4iv9qoio57ul7utbfpgfrda2etvtch8.apps.googleusercontent.com', + iosClientId: '961776991058-stt7et4qvn3cpscl4r61gl1hnlatqkig.apps.googleusercontent.com', iosBundleId: 'dev.solsynth.solian', ); diff --git a/macos/Runner/GoogleService-Info.plist b/macos/Runner/GoogleService-Info.plist index 3a05755..5083f50 100644 --- a/macos/Runner/GoogleService-Info.plist +++ b/macos/Runner/GoogleService-Info.plist @@ -2,6 +2,12 @@ + CLIENT_ID + 961776991058-stt7et4qvn3cpscl4r61gl1hnlatqkig.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.961776991058-stt7et4qvn3cpscl4r61gl1hnlatqkig + ANDROID_CLIENT_ID + 961776991058-r4iv9qoio57ul7utbfpgfrda2etvtch8.apps.googleusercontent.com API_KEY AIzaSyCzQIyiYKoYHTpGXhN-IjgMML8z797WVD8 GCM_SENDER_ID