87 lines
3.1 KiB
Dart
87 lines
3.1 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:
|
|
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: 'AIzaSyCcwKqtBD6qYRhRIqHZk7UVvWNV5bCaOjw',
|
|
appId: '1:285474828011:web:8afd9416f6cd99201798ae',
|
|
messagingSenderId: '285474828011',
|
|
projectId: 'monitoring-100',
|
|
authDomain: 'monitoring-100.firebaseapp.com',
|
|
databaseURL: 'https://monitoring-100-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'monitoring-100.firebasestorage.app',
|
|
measurementId: 'G-ECFE8M9LTS',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyBLiB1wlFgQKpAUS2B_7Q1K56-rzZohYZ4',
|
|
appId: '1:285474828011:android:44480ce4dcf6188c1798ae',
|
|
messagingSenderId: '285474828011',
|
|
projectId: 'monitoring-100',
|
|
databaseURL: 'https://monitoring-100-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'monitoring-100.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyA6jhRihnaAvDomdkA75zLjLfHcKW22VZw',
|
|
appId: '1:285474828011:ios:fbca7f2d389c80521798ae',
|
|
messagingSenderId: '285474828011',
|
|
projectId: 'monitoring-100',
|
|
databaseURL: 'https://monitoring-100-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'monitoring-100.firebasestorage.app',
|
|
iosBundleId: 'com.example.monitoring',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyCcwKqtBD6qYRhRIqHZk7UVvWNV5bCaOjw',
|
|
appId: '1:285474828011:web:91d8d8d7840d33671798ae',
|
|
messagingSenderId: '285474828011',
|
|
projectId: 'monitoring-100',
|
|
authDomain: 'monitoring-100.firebaseapp.com',
|
|
databaseURL: 'https://monitoring-100-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'monitoring-100.firebasestorage.app',
|
|
measurementId: 'G-H8JETVNFRC',
|
|
);
|
|
|
|
} |