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: 'AIzaSyDyUZdtr4_2UEkLHWpCW8urcSo5pyqRF8c',
|
|
appId: '1:1063565400879:web:270045722697354615dfda',
|
|
messagingSenderId: '1063565400879',
|
|
projectId: 'greensentry-6aa19',
|
|
authDomain: 'greensentry-6aa19.firebaseapp.com',
|
|
databaseURL: 'https://greensentry-6aa19-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'greensentry-6aa19.appspot.com',
|
|
measurementId: 'G-ED1V85FFQK',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyBilS49Gq6VGvwAejf8KZRHVjVgdtOhREc',
|
|
appId: '1:1063565400879:android:7b4dbfbe86813b3315dfda',
|
|
messagingSenderId: '1063565400879',
|
|
projectId: 'greensentry-6aa19',
|
|
databaseURL: 'https://greensentry-6aa19-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'greensentry-6aa19.appspot.com',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyBwysDvI7ZhDrrspy60TeSZNTwEKGG_HUM',
|
|
appId: '1:1063565400879:ios:4f26f99b6a44cfa615dfda',
|
|
messagingSenderId: '1063565400879',
|
|
projectId: 'greensentry-6aa19',
|
|
databaseURL: 'https://greensentry-6aa19-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'greensentry-6aa19.appspot.com',
|
|
iosBundleId: 'com.example.cobacoba',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'AIzaSyBwysDvI7ZhDrrspy60TeSZNTwEKGG_HUM',
|
|
appId: '1:1063565400879:ios:4f26f99b6a44cfa615dfda',
|
|
messagingSenderId: '1063565400879',
|
|
projectId: 'greensentry-6aa19',
|
|
databaseURL: 'https://greensentry-6aa19-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'greensentry-6aa19.appspot.com',
|
|
iosBundleId: 'com.example.cobacoba',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyDyUZdtr4_2UEkLHWpCW8urcSo5pyqRF8c',
|
|
appId: '1:1063565400879:web:b1f9ff4956ce58cc15dfda',
|
|
messagingSenderId: '1063565400879',
|
|
projectId: 'greensentry-6aa19',
|
|
authDomain: 'greensentry-6aa19.firebaseapp.com',
|
|
databaseURL: 'https://greensentry-6aa19-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
storageBucket: 'greensentry-6aa19.appspot.com',
|
|
measurementId: 'G-JNSSJSY296',
|
|
);
|
|
|
|
} |