TKK_E32210585_aplikasi/lib/firebase_options.dart

92 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: 'AIzaSyAvFExOa5Iq-FkkxpO-39BeTJa8sMT-gZc',
appId: '1:17392164256:web:7ef1b06cd07a137b5d98c5',
messagingSenderId: '17392164256',
projectId: 'rayhan-firebase-34c0f',
authDomain: 'rayhan-firebase-34c0f.firebaseapp.com',
databaseURL: 'https://rayhan-firebase-34c0f-default-rtdb.asia-southeast1.firebasedatabase.app',
storageBucket: 'rayhan-firebase-34c0f.appspot.com',
);
static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyD2GcJuMtR65kWPd3PczYek7MKSEyh4OtA',
appId: '1:17392164256:android:ab8ee4454771b5bd5d98c5',
messagingSenderId: '17392164256',
projectId: 'rayhan-firebase-34c0f',
databaseURL: 'https://rayhan-firebase-34c0f-default-rtdb.asia-southeast1.firebasedatabase.app',
storageBucket: 'rayhan-firebase-34c0f.appspot.com',
);
static const FirebaseOptions ios = FirebaseOptions(
apiKey: 'AIzaSyAVodfRHM-tYpTU6zPJCL-GjMUFqLEJw04',
appId: '1:17392164256:ios:662ec12ec31294f55d98c5',
messagingSenderId: '17392164256',
projectId: 'rayhan-firebase-34c0f',
databaseURL: 'https://rayhan-firebase-34c0f-default-rtdb.asia-southeast1.firebasedatabase.app',
storageBucket: 'rayhan-firebase-34c0f.appspot.com',
iosBundleId: 'com.example.eCommerce',
);
static const FirebaseOptions macos = FirebaseOptions(
apiKey: 'AIzaSyAVodfRHM-tYpTU6zPJCL-GjMUFqLEJw04',
appId: '1:17392164256:ios:662ec12ec31294f55d98c5',
messagingSenderId: '17392164256',
projectId: 'rayhan-firebase-34c0f',
databaseURL: 'https://rayhan-firebase-34c0f-default-rtdb.asia-southeast1.firebasedatabase.app',
storageBucket: 'rayhan-firebase-34c0f.appspot.com',
iosBundleId: 'com.example.eCommerce',
);
static const FirebaseOptions windows = FirebaseOptions(
apiKey: 'AIzaSyAvFExOa5Iq-FkkxpO-39BeTJa8sMT-gZc',
appId: '1:17392164256:web:909b38cd245235715d98c5',
messagingSenderId: '17392164256',
projectId: 'rayhan-firebase-34c0f',
authDomain: 'rayhan-firebase-34c0f.firebaseapp.com',
databaseURL: 'https://rayhan-firebase-34c0f-default-rtdb.asia-southeast1.firebasedatabase.app',
storageBucket: 'rayhan-firebase-34c0f.appspot.com',
);
}