Files
school-attendance/lib/firebase_options.dart
T

70 lines
2.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:
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:
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: 'AIzaSyCGE7xZm82Dp6yQnTgBeE0LYPcmvmdIRzE',
appId: '1:137322214849:web:0423e5c788d95761b16b40',
messagingSenderId: '137322214849',
projectId: 'school-display-ff28f',
authDomain: 'school-display-ff28f.firebaseapp.com',
storageBucket: 'school-display-ff28f.firebasestorage.app',
measurementId: 'G-XPMFYTSVF4',
);
static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyBR6CZrAafCMssuifI9So42uSOSuPASe84',
appId: '1:137322214849:android:52d9ca6efcb9613eb16b40',
messagingSenderId: '137322214849',
projectId: 'school-display-ff28f',
storageBucket: 'school-display-ff28f.firebasestorage.app',
);
}