94 lines
3.4 KiB
Dart
94 lines
3.4 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:
|
|
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: 'AIzaSyCnZuHtj5oUe_YS9nv3nlQIKWYCCfYFysU',
|
|
appId: '1:70449524223:web:e9c27da6646d655f3e4bca',
|
|
messagingSenderId: '70449524223',
|
|
projectId: 'allscore-344c2',
|
|
authDomain: 'allscore-344c2.firebaseapp.com',
|
|
databaseURL: 'https://allscore-344c2-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'allscore-344c2.firebasestorage.app',
|
|
measurementId: 'G-50Q1W265RY',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyAJEItMxO-TemHGlveSKySG-eNaTD9XJI0',
|
|
appId: '1:70449524223:android:94ffb9ec98e508313e4bca',
|
|
messagingSenderId: '70449524223',
|
|
projectId: 'allscore-344c2',
|
|
databaseURL: 'https://allscore-344c2-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'allscore-344c2.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyDq2y-BRlthl6BHs4B7FByiUnpyOfPPZQk',
|
|
appId: '1:70449524223:ios:98ebdbaa616a807f3e4bca',
|
|
messagingSenderId: '70449524223',
|
|
projectId: 'allscore-344c2',
|
|
databaseURL: 'https://allscore-344c2-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'allscore-344c2.firebasestorage.app',
|
|
iosBundleId: 'com.example.allscoreApp',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'AIzaSyDq2y-BRlthl6BHs4B7FByiUnpyOfPPZQk',
|
|
appId: '1:70449524223:ios:98ebdbaa616a807f3e4bca',
|
|
messagingSenderId: '70449524223',
|
|
projectId: 'allscore-344c2',
|
|
databaseURL: 'https://allscore-344c2-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'allscore-344c2.firebasestorage.app',
|
|
iosBundleId: 'com.example.allscoreApp',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyCnZuHtj5oUe_YS9nv3nlQIKWYCCfYFysU',
|
|
appId: '1:70449524223:web:479dd789b837f54c3e4bca',
|
|
messagingSenderId: '70449524223',
|
|
projectId: 'allscore-344c2',
|
|
authDomain: 'allscore-344c2.firebaseapp.com',
|
|
databaseURL: 'https://allscore-344c2-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'allscore-344c2.firebasestorage.app',
|
|
measurementId: 'G-S9J5WDYJZM',
|
|
);
|
|
|
|
} |