firebase initialisiert
parent
d193c504c0
commit
122dd10c4c
|
|
@ -1 +1,41 @@
|
||||||
{"flutter":{"platforms":{"android":{"default":{"projectId":"trainerbox-ad7df","appId":"1:230191525153:android:e81aa0f25d5e49ff41e260","fileOutput":"android/app/google-services.json"}},"ios":{"default":{"projectId":"trainerbox-ad7df","appId":"1:230191525153:ios:256587ef2d8bdf9d41e260","uploadDebugSymbols":false,"fileOutput":"ios/Runner/GoogleService-Info.plist"}},"macos":{"default":{"projectId":"trainerbox-ad7df","appId":"1:230191525153:ios:256587ef2d8bdf9d41e260","uploadDebugSymbols":false,"fileOutput":"macos/Runner/GoogleService-Info.plist"}},"dart":{"lib/firebase_options.dart":{"projectId":"trainerbox-ad7df","configurations":{"android":"1:230191525153:android:e81aa0f25d5e49ff41e260","ios":"1:230191525153:ios:256587ef2d8bdf9d41e260","macos":"1:230191525153:ios:256587ef2d8bdf9d41e260","web":"1:230191525153:web:b2af0668c903a80141e260","windows":"1:230191525153:web:4141eb2fcce10e9841e260"}}}}}}
|
{
|
||||||
|
"flutter": {
|
||||||
|
"platforms": {
|
||||||
|
"android": {
|
||||||
|
"default": {
|
||||||
|
"projectId": "trainerbox-ad7df",
|
||||||
|
"appId": "1:230191525153:android:e81aa0f25d5e49ff41e260",
|
||||||
|
"fileOutput": "android/app/google-services.json"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ios": {
|
||||||
|
"default": {
|
||||||
|
"projectId": "trainerbox-ad7df",
|
||||||
|
"appId": "1:230191525153:ios:256587ef2d8bdf9d41e260",
|
||||||
|
"uploadDebugSymbols": false,
|
||||||
|
"fileOutput": "ios/Runner/GoogleService-Info.plist"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"macos": {
|
||||||
|
"default": {
|
||||||
|
"projectId": "trainerbox-ad7df",
|
||||||
|
"appId": "1:230191525153:ios:256587ef2d8bdf9d41e260",
|
||||||
|
"uploadDebugSymbols": false,
|
||||||
|
"fileOutput": "macos/Runner/GoogleService-Info.plist"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dart": {
|
||||||
|
"lib/firebase_options.dart": {
|
||||||
|
"projectId": "trainerbox-ad7df",
|
||||||
|
"configurations": {
|
||||||
|
"android": "1:230191525153:android:e81aa0f25d5e49ff41e260",
|
||||||
|
"ios": "1:230191525153:ios:256587ef2d8bdf9d41e260",
|
||||||
|
"macos": "1:230191525153:ios:256587ef2d8bdf9d41e260",
|
||||||
|
"web": "1:230191525153:web:b2af0668c903a80141e260",
|
||||||
|
"windows": "1:230191525153:web:4141eb2fcce10e9841e260"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -3,17 +3,9 @@
|
||||||
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
|
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
|
||||||
import 'package:flutter/foundation.dart'
|
import 'package:flutter/foundation.dart'
|
||||||
show defaultTargetPlatform, kIsWeb, TargetPlatform;
|
show defaultTargetPlatform, kIsWeb, TargetPlatform;
|
||||||
|
import 'package:firebase_core/firebase_core.dart';
|
||||||
|
|
||||||
|
|
||||||
/// Default [FirebaseOptions] for use with your Firebase apps.
|
|
||||||
///
|
|
||||||
/// Example:
|
|
||||||
/// ```dart
|
|
||||||
/// import 'firebase_options.dart';
|
|
||||||
/// // ...
|
|
||||||
/// await Firebase.initializeApp(
|
|
||||||
/// options: DefaultFirebaseOptions.currentPlatform,
|
|
||||||
/// );
|
|
||||||
/// ```
|
|
||||||
class DefaultFirebaseOptions {
|
class DefaultFirebaseOptions {
|
||||||
static FirebaseOptions get currentPlatform {
|
static FirebaseOptions get currentPlatform {
|
||||||
if (kIsWeb) {
|
if (kIsWeb) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue