fcm
This commit is contained in:
89
lib/firebase_options.dart
Normal file
89
lib/firebase_options.dart
Normal file
@@ -0,0 +1,89 @@
|
||||
// File generated by FlutterFire CLI.
|
||||
// ignore_for_file: type=lint
|
||||
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
|
||||
import 'package:flutter/foundation.dart'
|
||||
show defaultTargetPlatform, kIsWeb, TargetPlatform;
|
||||
|
||||
/// Default [FirebaseOptions] for use with your Firebase apps.
|
||||
///
|
||||
/// Example:
|
||||
/// ```dart
|
||||
/// import 'firebase_options.dart';
|
||||
/// // ...
|
||||
/// await Firebase.initializeApp(
|
||||
/// options: DefaultFirebaseOptions.currentPlatform,
|
||||
/// );
|
||||
/// ```
|
||||
class DefaultFirebaseOptions {
|
||||
static FirebaseOptions get currentPlatform {
|
||||
if (kIsWeb) {
|
||||
return web;
|
||||
}
|
||||
switch (defaultTargetPlatform) {
|
||||
case TargetPlatform.android:
|
||||
return android;
|
||||
case TargetPlatform.iOS:
|
||||
return ios;
|
||||
case TargetPlatform.macOS:
|
||||
return macos;
|
||||
case TargetPlatform.windows:
|
||||
return windows;
|
||||
case TargetPlatform.linux:
|
||||
throw UnsupportedError(
|
||||
'DefaultFirebaseOptions have not been configured for linux - '
|
||||
'you can reconfigure this by running the FlutterFire CLI again.',
|
||||
);
|
||||
default:
|
||||
throw UnsupportedError(
|
||||
'DefaultFirebaseOptions are not supported for this platform.',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
static const FirebaseOptions web = FirebaseOptions(
|
||||
apiKey: 'AIzaSyACOLz2mY8fHd5RWfJmDvN53LCd5_TxI6o',
|
||||
appId: '1:249756116297:web:7c652e51004414b7cf2698',
|
||||
messagingSenderId: '249756116297',
|
||||
projectId: 'flux-87e49',
|
||||
authDomain: 'flux-87e49.firebaseapp.com',
|
||||
storageBucket: 'flux-87e49.firebasestorage.app',
|
||||
measurementId: 'G-6V4VN8GWWZ',
|
||||
);
|
||||
|
||||
static const FirebaseOptions android = FirebaseOptions(
|
||||
apiKey: 'AIzaSyA6-uX6504B3yofeo7YQwfQaS0cCDoZnvY',
|
||||
appId: '1:249756116297:android:a2c3d37323752069cf2698',
|
||||
messagingSenderId: '249756116297',
|
||||
projectId: 'flux-87e49',
|
||||
storageBucket: 'flux-87e49.firebasestorage.app',
|
||||
);
|
||||
|
||||
static const FirebaseOptions ios = FirebaseOptions(
|
||||
apiKey: 'AIzaSyAllwaoNyqHsZtqfMMo9DxVS6-q7yBwWow',
|
||||
appId: '1:249756116297:ios:fe9dadca7150da16cf2698',
|
||||
messagingSenderId: '249756116297',
|
||||
projectId: 'flux-87e49',
|
||||
storageBucket: 'flux-87e49.firebasestorage.app',
|
||||
iosBundleId: 'com.catellisrl.flux',
|
||||
);
|
||||
|
||||
static const FirebaseOptions macos = FirebaseOptions(
|
||||
apiKey: 'AIzaSyAllwaoNyqHsZtqfMMo9DxVS6-q7yBwWow',
|
||||
appId: '1:249756116297:ios:fe9dadca7150da16cf2698',
|
||||
messagingSenderId: '249756116297',
|
||||
projectId: 'flux-87e49',
|
||||
storageBucket: 'flux-87e49.firebasestorage.app',
|
||||
iosBundleId: 'com.catellisrl.flux',
|
||||
);
|
||||
|
||||
static const FirebaseOptions windows = FirebaseOptions(
|
||||
apiKey: 'AIzaSyACOLz2mY8fHd5RWfJmDvN53LCd5_TxI6o',
|
||||
appId: '1:249756116297:web:b094277c2fedb425cf2698',
|
||||
messagingSenderId: '249756116297',
|
||||
projectId: 'flux-87e49',
|
||||
authDomain: 'flux-87e49.firebaseapp.com',
|
||||
storageBucket: 'flux-87e49.firebasestorage.app',
|
||||
measurementId: 'G-8E29KT6RWX',
|
||||
);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user