now android firebase works again (Had overwritten firebase config before with macos so android didn't work anymore)

This commit is contained in:
2023-05-11 09:23:37 +02:00
parent ee662b5270
commit 7c48542920
3 changed files with 26 additions and 21 deletions
+9 -4
View File
@@ -24,10 +24,7 @@ class DefaultFirebaseOptions {
}
switch (defaultTargetPlatform) {
case TargetPlatform.android:
throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for android - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
return android;
case TargetPlatform.iOS:
return ios;
case TargetPlatform.macOS:
@@ -52,6 +49,14 @@ 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:956de34e2dbeec89083fa6',