94 lines
3.3 KiB
Dart
94 lines
3.3 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: 'AIzaSyAol-p3UoknWQC8XeaF0EduoatNcdX6JSY',
|
|
appId: '1:44962054256:web:53fd1bcc51b874c1bff4b5',
|
|
messagingSenderId: '44962054256',
|
|
projectId: 'inputkwh-b45d4',
|
|
authDomain: 'inputkwh-b45d4.firebaseapp.com',
|
|
databaseURL: 'https://inputkwh-b45d4-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'inputkwh-b45d4.appspot.com',
|
|
measurementId: 'G-ZPPBLHNZGX',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyCfdJ7v2WdONyDVSgpQQCyzi__tvklcxIk',
|
|
appId: '1:44962054256:android:84da297674aced22bff4b5',
|
|
messagingSenderId: '44962054256',
|
|
projectId: 'inputkwh-b45d4',
|
|
databaseURL: 'https://inputkwh-b45d4-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'inputkwh-b45d4.appspot.com',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyAiSylXuWOb2g2ehB18Z08phBFoV-ivZPs',
|
|
appId: '1:44962054256:ios:5d31e8991c999712bff4b5',
|
|
messagingSenderId: '44962054256',
|
|
projectId: 'inputkwh-b45d4',
|
|
databaseURL: 'https://inputkwh-b45d4-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'inputkwh-b45d4.appspot.com',
|
|
iosBundleId: 'com.example.inputKwh',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'AIzaSyAiSylXuWOb2g2ehB18Z08phBFoV-ivZPs',
|
|
appId: '1:44962054256:ios:5d31e8991c999712bff4b5',
|
|
messagingSenderId: '44962054256',
|
|
projectId: 'inputkwh-b45d4',
|
|
databaseURL: 'https://inputkwh-b45d4-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'inputkwh-b45d4.appspot.com',
|
|
iosBundleId: 'com.example.inputKwh',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyAol-p3UoknWQC8XeaF0EduoatNcdX6JSY',
|
|
appId: '1:44962054256:web:60f9fab96c656d4dbff4b5',
|
|
messagingSenderId: '44962054256',
|
|
projectId: 'inputkwh-b45d4',
|
|
authDomain: 'inputkwh-b45d4.firebaseapp.com',
|
|
databaseURL: 'https://inputkwh-b45d4-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'inputkwh-b45d4.appspot.com',
|
|
measurementId: 'G-V5Z9X1L5E6',
|
|
);
|
|
}
|