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: 'AIzaSyDQNGlu7_0ex5kKI_KoX4j-FKJors0COV0',
|
|
appId: '1:591727722682:web:be93eda07f346b736a4283',
|
|
messagingSenderId: '591727722682',
|
|
projectId: 'hidroponik-30a88',
|
|
authDomain: 'hidroponik-30a88.firebaseapp.com',
|
|
databaseURL: 'https://hidroponik-30a88-default-rtdb.firebaseio.com',
|
|
storageBucket: 'hidroponik-30a88.firebasestorage.app',
|
|
measurementId: 'G-176DF0HS1Z',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyBopBQiTBVLR7io7snICO-oH-wk_r4ElQ8',
|
|
appId: '1:591727722682:android:77ffb0fe579d13a26a4283',
|
|
messagingSenderId: '591727722682',
|
|
projectId: 'hidroponik-30a88',
|
|
databaseURL: 'https://hidroponik-30a88-default-rtdb.firebaseio.com',
|
|
storageBucket: 'hidroponik-30a88.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyAoQUBJIjdU8zRljiQ_vIfehifPxMgyB-c',
|
|
appId: '1:591727722682:ios:ab07f9317a8fd3156a4283',
|
|
messagingSenderId: '591727722682',
|
|
projectId: 'hidroponik-30a88',
|
|
databaseURL: 'https://hidroponik-30a88-default-rtdb.firebaseio.com',
|
|
storageBucket: 'hidroponik-30a88.firebasestorage.app',
|
|
iosBundleId: 'com.example.ecogreenhouseplus',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'AIzaSyAoQUBJIjdU8zRljiQ_vIfehifPxMgyB-c',
|
|
appId: '1:591727722682:ios:ab07f9317a8fd3156a4283',
|
|
messagingSenderId: '591727722682',
|
|
projectId: 'hidroponik-30a88',
|
|
databaseURL: 'https://hidroponik-30a88-default-rtdb.firebaseio.com',
|
|
storageBucket: 'hidroponik-30a88.firebasestorage.app',
|
|
iosBundleId: 'com.example.ecogreenhouseplus',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyDQNGlu7_0ex5kKI_KoX4j-FKJors0COV0',
|
|
appId: '1:591727722682:web:4e413e4c4850dcfc6a4283',
|
|
messagingSenderId: '591727722682',
|
|
projectId: 'hidroponik-30a88',
|
|
authDomain: 'hidroponik-30a88.firebaseapp.com',
|
|
databaseURL: 'https://hidroponik-30a88-default-rtdb.firebaseio.com',
|
|
storageBucket: 'hidroponik-30a88.firebasestorage.app',
|
|
measurementId: 'G-6HK5HJ5FTL',
|
|
);
|
|
|
|
} |