80 lines
2.8 KiB
Dart
80 lines
2.8 KiB
Dart
// 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:
|
|
throw UnsupportedError(
|
|
'DefaultFirebaseOptions have not been configured for ios - '
|
|
'you can reconfigure this by running the FlutterFire CLI again.',
|
|
);
|
|
case TargetPlatform.macOS:
|
|
throw UnsupportedError(
|
|
'DefaultFirebaseOptions have not been configured for macos - '
|
|
'you can reconfigure this by running the FlutterFire CLI again.',
|
|
);
|
|
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: 'AIzaSyBkHZtox18LRzXWYHEKVEXaYkkf8jv8Enk',
|
|
appId: '1:74256198630:web:ba3d62a31608d686d18427',
|
|
messagingSenderId: '74256198630',
|
|
projectId: 'playmaker-9e0fc',
|
|
authDomain: 'playmaker-9e0fc.firebaseapp.com',
|
|
databaseURL: 'https://playmaker-9e0fc-default-rtdb.firebaseio.com',
|
|
storageBucket: 'playmaker-9e0fc.firebasestorage.app',
|
|
measurementId: 'G-QQE1EZWZ8K',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyDm7MBJQ6vZEE_gM1Ek5LH3Mf5ui2YHc2I',
|
|
appId: '1:74256198630:android:145e08f6bc85ff13d18427',
|
|
messagingSenderId: '74256198630',
|
|
projectId: 'playmaker-9e0fc',
|
|
databaseURL: 'https://playmaker-9e0fc-default-rtdb.firebaseio.com',
|
|
storageBucket: 'playmaker-9e0fc.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyBkHZtox18LRzXWYHEKVEXaYkkf8jv8Enk',
|
|
appId: '1:74256198630:web:6458f24490c3dc80d18427',
|
|
messagingSenderId: '74256198630',
|
|
projectId: 'playmaker-9e0fc',
|
|
authDomain: 'playmaker-9e0fc.firebaseapp.com',
|
|
databaseURL: 'https://playmaker-9e0fc-default-rtdb.firebaseio.com',
|
|
storageBucket: 'playmaker-9e0fc.firebasestorage.app',
|
|
measurementId: 'G-D56MT819B0',
|
|
);
|
|
}
|