76 lines
2.5 KiB
Dart
Executable File
76 lines
2.5 KiB
Dart
Executable File
// 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: 'AIzaSyAh3pTuKhm-mfB79XrNbfljs-Gw8o1jHc4',
|
|
appId: '1:856896596042:web:7a2298ee77e1cfe4ba9eb3',
|
|
messagingSenderId: '856896596042',
|
|
projectId: 'kzeduca-app',
|
|
authDomain: 'kzeduca-app.firebaseapp.com',
|
|
storageBucket: 'kzeduca-app.firebasestorage.app',
|
|
measurementId: 'G-42SZB4KXK0',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyDqrKYRzy-By6nqbjsaC656wB8ddA5a-HA',
|
|
appId: '1:856896596042:android:4872a8df231ad6ebba9eb3',
|
|
messagingSenderId: '856896596042',
|
|
projectId: 'kzeduca-app',
|
|
storageBucket: 'kzeduca-app.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyAzOhEx4D-ZMj9cpfYinJ3MGMQ5nTwCUko',
|
|
appId: '1:856896596042:ios:8d13bed19889f246ba9eb3',
|
|
messagingSenderId: '856896596042',
|
|
projectId: 'kzeduca-app',
|
|
storageBucket: 'kzeduca-app.firebasestorage.app',
|
|
iosBundleId: 'com.example.kzeducaApp',
|
|
);
|
|
}
|