Initial commit: Penyerahan final Source code Tugas Akhir
This commit is contained in:
85
lib/firebase_options.dart
Normal file
85
lib/firebase_options.dart
Normal file
@ -0,0 +1,85 @@
|
||||
// File generated by FlutterFire CLI.
|
||||
// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
|
||||
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:
|
||||
throw UnsupportedError(
|
||||
'DefaultFirebaseOptions have not been configured for windows - '
|
||||
'you can reconfigure this by running the FlutterFire CLI again.',
|
||||
);
|
||||
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: 'AIzaSyDXtaFclWaNaXjMnPsLrsRzEya5c1Lx54U',
|
||||
appId: '1:652715934272:web:8a2a174bdd075e9b3195a5',
|
||||
messagingSenderId: '652715934272',
|
||||
projectId: 'vocasia-bbfb5',
|
||||
authDomain: 'vocasia-bbfb5.firebaseapp.com',
|
||||
storageBucket: 'vocasia-bbfb5.appspot.com',
|
||||
measurementId: 'G-W7Z8ESP739',
|
||||
);
|
||||
|
||||
static const FirebaseOptions android = FirebaseOptions(
|
||||
apiKey: 'AIzaSyAiHFJENCvW1B8RClUfdZXwk1H6suWtGUU',
|
||||
appId: '1:652715934272:android:6069e948b9052d2d3195a5',
|
||||
messagingSenderId: '652715934272',
|
||||
projectId: 'vocasia-bbfb5',
|
||||
storageBucket: 'vocasia-bbfb5.appspot.com',
|
||||
);
|
||||
|
||||
static const FirebaseOptions ios = FirebaseOptions(
|
||||
apiKey: 'AIzaSyDVS6d5Y3GBQXVhk1HfL2GdiC1Wx251b_c',
|
||||
appId: '1:652715934272:ios:0620353fdfbf6d0a3195a5',
|
||||
messagingSenderId: '652715934272',
|
||||
projectId: 'vocasia-bbfb5',
|
||||
storageBucket: 'vocasia-bbfb5.appspot.com',
|
||||
androidClientId: '652715934272-8bgpnurmsj0lg8e6c9cg1ccogptm6erm.apps.googleusercontent.com',
|
||||
iosClientId: '652715934272-89m63o0o412jr6irvf5pnurb7076ajlp.apps.googleusercontent.com',
|
||||
iosBundleId: 'com.example.initialFolder',
|
||||
);
|
||||
|
||||
static const FirebaseOptions macos = FirebaseOptions(
|
||||
apiKey: 'AIzaSyDVS6d5Y3GBQXVhk1HfL2GdiC1Wx251b_c',
|
||||
appId: '1:652715934272:ios:05922d3f99967a1b3195a5',
|
||||
messagingSenderId: '652715934272',
|
||||
projectId: 'vocasia-bbfb5',
|
||||
storageBucket: 'vocasia-bbfb5.appspot.com',
|
||||
androidClientId: '652715934272-8bgpnurmsj0lg8e6c9cg1ccogptm6erm.apps.googleusercontent.com',
|
||||
iosClientId: '652715934272-4vdmmf2mdh5nb4j0lnutspkcceh8brdn.apps.googleusercontent.com',
|
||||
iosBundleId: 'com.example.initialFolder.RunnerTests',
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user