E32221349_Medibox/lib/firebase_options.dart

80 lines
2.8 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:
throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for ios - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
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: 'AIzaSyAUVen3yiSUrNJw7HnRif0_IBmUdeStY0c',
appId: '1:531750565610:web:5acfbccca5e41ee8404993',
messagingSenderId: '531750565610',
projectId: 'coba-smartmedibox',
authDomain: 'coba-smartmedibox.firebaseapp.com',
databaseURL: 'https://coba-smartmedibox-default-rtdb.firebaseio.com',
storageBucket: 'coba-smartmedibox.firebasestorage.app',
measurementId: 'G-EE8J2YXLHR',
);
static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyAoQ1OITgUoHmGuIgJMCc9nzE5Nt8B45AA',
appId: '1:531750565610:android:392b728b9109c3a5404993',
messagingSenderId: '531750565610',
projectId: 'coba-smartmedibox',
databaseURL: 'https://coba-smartmedibox-default-rtdb.firebaseio.com',
storageBucket: 'coba-smartmedibox.firebasestorage.app',
);
static const FirebaseOptions windows = FirebaseOptions(
apiKey: 'AIzaSyAUVen3yiSUrNJw7HnRif0_IBmUdeStY0c',
appId: '1:531750565610:web:8b42d0e7829dcf2d404993',
messagingSenderId: '531750565610',
projectId: 'coba-smartmedibox',
authDomain: 'coba-smartmedibox.firebaseapp.com',
databaseURL: 'https://coba-smartmedibox-default-rtdb.firebaseio.com',
storageBucket: 'coba-smartmedibox.firebasestorage.app',
measurementId: 'G-VETNMWNP5H',
);
}