Pengusir-Hama-Burung-Otomatis/project/tugas_akhir/lib/firebase_options.dart

76 lines
2.6 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:
throw UnsupportedError(
'DefaultFirebaseOptions have not been configured for macos - '
'you can reconfigure this by running the FlutterFire CLI again.',
);
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: 'AIzaSyDwXyctX6eQSoUNBsMbD2CzbeVekdOuBdI',
appId: '1:767021749966:web:2a268272267af3be23229f',
messagingSenderId: '767021749966',
projectId: 'tugas-akhir-9947b',
authDomain: 'tugas-akhir-9947b.firebaseapp.com',
storageBucket: 'tugas-akhir-9947b.firebasestorage.app',
measurementId: 'G-KSQEH2KWV3',
);
static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyAShQqv8rUYiurtnnUZ6BPiGLkc7wx6ZsU',
appId: '1:767021749966:android:47f8a0ba03b025a923229f',
messagingSenderId: '767021749966',
projectId: 'tugas-akhir-9947b',
storageBucket: 'tugas-akhir-9947b.firebasestorage.app',
);
static const FirebaseOptions ios = FirebaseOptions(
apiKey: 'AIzaSyD1g38iGLdXY3yBUUeKkC220U3PtLf95fg',
appId: '1:767021749966:ios:3e16dd014989e9d123229f',
messagingSenderId: '767021749966',
projectId: 'tugas-akhir-9947b',
storageBucket: 'tugas-akhir-9947b.firebasestorage.app',
iosBundleId: 'com.example.tugasAkhir',
);
}