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: 'AIzaSyCWEGWYt71sCQnsaBLWheHM--6xAuZFsoc',
|
|
appId: '1:155191766776:web:8fc63761106a3d1134d50d',
|
|
messagingSenderId: '155191766776',
|
|
projectId: 'rumahoto-c7c9b',
|
|
authDomain: 'rumahoto-c7c9b.firebaseapp.com',
|
|
databaseURL: 'https://rumahoto-c7c9b-default-rtdb.firebaseio.com',
|
|
storageBucket: 'rumahoto-c7c9b.firebasestorage.app',
|
|
measurementId: 'G-SLPDDLCZLC',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyDhXwFT0yCV4lAXPyKIMcfRzbNIxVVudl8',
|
|
appId: '1:155191766776:android:d9bad1e8c5a79ce234d50d',
|
|
messagingSenderId: '155191766776',
|
|
projectId: 'rumahoto-c7c9b',
|
|
databaseURL: 'https://rumahoto-c7c9b-default-rtdb.firebaseio.com',
|
|
storageBucket: 'rumahoto-c7c9b.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyB4C3unwhECub_lmNO_ZMzW0eM4GBIId9E',
|
|
appId: '1:155191766776:ios:160ad5dc9403ab9534d50d',
|
|
messagingSenderId: '155191766776',
|
|
projectId: 'rumahoto-c7c9b',
|
|
databaseURL: 'https://rumahoto-c7c9b-default-rtdb.firebaseio.com',
|
|
storageBucket: 'rumahoto-c7c9b.firebasestorage.app',
|
|
iosBundleId: 'com.example.aplikasiPertama',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'AIzaSyB4C3unwhECub_lmNO_ZMzW0eM4GBIId9E',
|
|
appId: '1:155191766776:ios:160ad5dc9403ab9534d50d',
|
|
messagingSenderId: '155191766776',
|
|
projectId: 'rumahoto-c7c9b',
|
|
databaseURL: 'https://rumahoto-c7c9b-default-rtdb.firebaseio.com',
|
|
storageBucket: 'rumahoto-c7c9b.firebasestorage.app',
|
|
iosBundleId: 'com.example.aplikasiPertama',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyCWEGWYt71sCQnsaBLWheHM--6xAuZFsoc',
|
|
appId: '1:155191766776:web:f898d71c18f44df934d50d',
|
|
messagingSenderId: '155191766776',
|
|
projectId: 'rumahoto-c7c9b',
|
|
authDomain: 'rumahoto-c7c9b.firebaseapp.com',
|
|
databaseURL: 'https://rumahoto-c7c9b-default-rtdb.firebaseio.com',
|
|
storageBucket: 'rumahoto-c7c9b.firebasestorage.app',
|
|
measurementId: 'G-09H7KLZ96P',
|
|
);
|
|
}
|