79 lines
2.8 KiB
Dart
79 lines
2.8 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 android = FirebaseOptions(
|
|
apiKey: 'AIzaSyDoaswxc9QOjMX_xY8jF4P0zAENjLlXVl4',
|
|
appId: '1:640860179589:android:ccdfa9161e4db8deec2dec',
|
|
messagingSenderId: '640860179589',
|
|
projectId: 'pvt15g10-mediastorage',
|
|
storageBucket: 'pvt15g10-mediastorage.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyA4BiCuiJWYtLwlUr9fMVCiIlU7SOuV14c',
|
|
appId: '1:640860179589:ios:9eb772bf7787298cec2dec',
|
|
messagingSenderId: '640860179589',
|
|
projectId: 'pvt15g10-mediastorage',
|
|
storageBucket: 'pvt15g10-mediastorage.firebasestorage.app',
|
|
androidClientId:
|
|
'640860179589-43bachtl8t819kt8634v2mfbogonnqkb.apps.googleusercontent.com',
|
|
iosClientId:
|
|
'640860179589-ks8auo56h6dfe7t1jntf0u0thtfovful.apps.googleusercontent.com',
|
|
iosBundleId: 'com.example.insparkspokalenUi',
|
|
);
|
|
|
|
static const FirebaseOptions web = FirebaseOptions(
|
|
apiKey: "AIzaSyCuEb-3VQhGbfGd6l1KQL0SI_8lMEdhChA",
|
|
authDomain: "pvt15g10-mediastorage.firebaseapp.com",
|
|
projectId: "pvt15g10-mediastorage",
|
|
storageBucket: "pvt15g10-mediastorage.firebasestorage.app",
|
|
messagingSenderId: "640860179589",
|
|
appId: "1:640860179589:web:26638d21317554c5ec2dec",
|
|
);
|
|
}
|