android works

This commit is contained in:
2023-04-26 18:47:02 +02:00
parent 86f72a1058
commit 663a24e737
5 changed files with 13 additions and 20 deletions
+2 -2
View File
@@ -7,9 +7,9 @@
"client": [ "client": [
{ {
"client_info": { "client_info": {
"mobilesdk_app_id": "1:576683162451:android:b792a81fceafa932083fa6", "mobilesdk_app_id": "1:576683162451:android:48edba9829ee7925083fa6",
"android_client_info": { "android_client_info": {
"package_name": "com.example.demoapp" "package_name": "com.oggauergemeindetrommler.app"
} }
}, },
"oauth_client": [ "oauth_client": [
+1 -1
View File
@@ -13,7 +13,7 @@
<key>PLIST_VERSION</key> <key>PLIST_VERSION</key>
<string>1</string> <string>1</string>
<key>BUNDLE_ID</key> <key>BUNDLE_ID</key>
<string>com.example.demoapp</string> <string>com.oggauergemeindetrommler.app</string>
<key>PROJECT_ID</key> <key>PROJECT_ID</key>
<string>gemeinde-trommler</string> <string>gemeinde-trommler</string>
<key>STORAGE_BUCKET</key> <key>STORAGE_BUCKET</key>
+3 -3
View File
@@ -5,15 +5,15 @@
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string> <string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key> <key>CFBundleDisplayName</key>
<string>Demoapp</string> <string>Oggauer GemeindeTrommler</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string> <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <string>com.oggauergemeindetrommler.app</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>demoapp</string> <string>oggauer_gemeinde_trommler</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"file_generated_by": "FlutterFire CLI", "file_generated_by": "FlutterFire CLI",
"purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory", "purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory",
"GOOGLE_APP_ID": "1:576683162451:ios:2fd841a4b4ca70d5083fa6", "GOOGLE_APP_ID": "1:576683162451:ios:f3e9140edfc4c945083fa6",
"FIREBASE_PROJECT_ID": "gemeinde-trommler", "FIREBASE_PROJECT_ID": "gemeinde-trommler",
"GCM_SENDER_ID": "576683162451" "GCM_SENDER_ID": "576683162451"
} }
+6 -13
View File
@@ -17,7 +17,10 @@ import 'package:flutter/foundation.dart'
class DefaultFirebaseOptions { class DefaultFirebaseOptions {
static FirebaseOptions get currentPlatform { static FirebaseOptions get currentPlatform {
if (kIsWeb) { if (kIsWeb) {
return web; throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for web - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
} }
switch (defaultTargetPlatform) { switch (defaultTargetPlatform) {
case TargetPlatform.android: case TargetPlatform.android:
@@ -46,19 +49,9 @@ class DefaultFirebaseOptions {
} }
} }
static const FirebaseOptions web = FirebaseOptions(
apiKey: 'AIzaSyBmdRrWkqosCAtlOeqs-G-4oWAvwLt3KnQ',
appId: '1:576683162451:web:71c67b5ef44ab7c1083fa6',
messagingSenderId: '576683162451',
projectId: 'gemeinde-trommler',
authDomain: 'gemeinde-trommler.firebaseapp.com',
storageBucket: 'gemeinde-trommler.appspot.com',
measurementId: 'G-ZH37BQ8679',
);
static const FirebaseOptions android = FirebaseOptions( static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyAWjSjX1f2rGUGHLbXQS873DYY_oXqcHhs', apiKey: 'AIzaSyAWjSjX1f2rGUGHLbXQS873DYY_oXqcHhs',
appId: '1:576683162451:android:b792a81fceafa932083fa6', appId: '1:576683162451:android:48edba9829ee7925083fa6',
messagingSenderId: '576683162451', messagingSenderId: '576683162451',
projectId: 'gemeinde-trommler', projectId: 'gemeinde-trommler',
storageBucket: 'gemeinde-trommler.appspot.com', storageBucket: 'gemeinde-trommler.appspot.com',
@@ -66,7 +59,7 @@ class DefaultFirebaseOptions {
static const FirebaseOptions ios = FirebaseOptions( static const FirebaseOptions ios = FirebaseOptions(
apiKey: 'AIzaSyDV441PhkPEC7igZmYMpJ_axLMc2bKQ5fY', apiKey: 'AIzaSyDV441PhkPEC7igZmYMpJ_axLMc2bKQ5fY',
appId: '1:576683162451:ios:2fd841a4b4ca70d5083fa6', appId: '1:576683162451:ios:f3e9140edfc4c945083fa6',
messagingSenderId: '576683162451', messagingSenderId: '576683162451',
projectId: 'gemeinde-trommler', projectId: 'gemeinde-trommler',
storageBucket: 'gemeinde-trommler.appspot.com', storageBucket: 'gemeinde-trommler.appspot.com',