now android firebase works again (Had overwritten firebase config before with macos so android didn't work anymore)
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
# This file should be version controlled.
|
# This file should be version controlled.
|
||||||
|
|
||||||
version:
|
version:
|
||||||
revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
channel: stable
|
channel: stable
|
||||||
|
|
||||||
project_type: app
|
project_type: app
|
||||||
@@ -13,26 +13,26 @@ project_type: app
|
|||||||
migration:
|
migration:
|
||||||
platforms:
|
platforms:
|
||||||
- platform: root
|
- platform: root
|
||||||
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
create_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
base_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
- platform: android
|
- platform: android
|
||||||
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
create_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
base_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
- platform: ios
|
- platform: ios
|
||||||
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
create_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
base_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
- platform: linux
|
- platform: linux
|
||||||
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
create_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
base_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
- platform: macos
|
- platform: macos
|
||||||
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
create_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
base_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
- platform: web
|
- platform: web
|
||||||
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
create_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
base_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
- platform: windows
|
- platform: windows
|
||||||
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
create_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
|
base_revision: f72efea43c3013323d1b95cff571f3c1caa37583
|
||||||
|
|
||||||
# User provided section
|
# User provided section
|
||||||
|
|
||||||
|
|||||||
@@ -31,10 +31,10 @@
|
|||||||
"client_type": 3
|
"client_type": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"client_id": "576683162451-fsmb243l472p04mgcmg2lcg7cjreftu4.apps.googleusercontent.com",
|
"client_id": "576683162451-c1b1lafcof6oi2l25lb9qh0q1dqh1dhr.apps.googleusercontent.com",
|
||||||
"client_type": 2,
|
"client_type": 2,
|
||||||
"ios_info": {
|
"ios_info": {
|
||||||
"bundle_id": "oggauergemeindetrommler"
|
"bundle_id": "com.oggauergemeindetrommler.app"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -24,10 +24,7 @@ class DefaultFirebaseOptions {
|
|||||||
}
|
}
|
||||||
switch (defaultTargetPlatform) {
|
switch (defaultTargetPlatform) {
|
||||||
case TargetPlatform.android:
|
case TargetPlatform.android:
|
||||||
throw UnsupportedError(
|
return android;
|
||||||
'DefaultFirebaseOptions have not been configured for android - '
|
|
||||||
'you can reconfigure this by running the FlutterFire CLI again.',
|
|
||||||
);
|
|
||||||
case TargetPlatform.iOS:
|
case TargetPlatform.iOS:
|
||||||
return ios;
|
return ios;
|
||||||
case TargetPlatform.macOS:
|
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(
|
static const FirebaseOptions ios = FirebaseOptions(
|
||||||
apiKey: 'AIzaSyDV441PhkPEC7igZmYMpJ_axLMc2bKQ5fY',
|
apiKey: 'AIzaSyDV441PhkPEC7igZmYMpJ_axLMc2bKQ5fY',
|
||||||
appId: '1:576683162451:ios:956de34e2dbeec89083fa6',
|
appId: '1:576683162451:ios:956de34e2dbeec89083fa6',
|
||||||
|
|||||||
Reference in New Issue
Block a user