81 lines
2.9 KiB
Dart
81 lines
2.9 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: 'AIzaSyAG_jgXGKmMEMa4EH2ovnscAFuJTAxFPM4',
|
|
appId: '1:187064172787:web:0a990f85eca1f18c763786',
|
|
messagingSenderId: '187064172787',
|
|
projectId: 'accessmoblie-da839',
|
|
authDomain: 'accessmoblie-da839.firebaseapp.com',
|
|
databaseURL: 'https://accessmoblie-da839.firebaseio.com',
|
|
storageBucket: 'accessmoblie-da839.firebasestorage.app',
|
|
measurementId: 'G-L4BQGX2WLZ',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyDbedj_giLOra4RwdWhBoRx6t8AJ-fnkg8',
|
|
appId: '1:187064172787:android:61a667c543bf7c5a763786',
|
|
messagingSenderId: '187064172787',
|
|
projectId: 'accessmoblie-da839',
|
|
databaseURL: 'https://accessmoblie-da839.firebaseio.com',
|
|
storageBucket: 'accessmoblie-da839.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyCQIy2S4mK1YHmiYBpx-c393IPzVya11h4',
|
|
appId: '1:187064172787:ios:f88d62e0c73cf535763786',
|
|
messagingSenderId: '187064172787',
|
|
projectId: 'accessmoblie-da839',
|
|
databaseURL: 'https://accessmoblie-da839.firebaseio.com',
|
|
storageBucket: 'accessmoblie-da839.firebasestorage.app',
|
|
androidClientId: '187064172787-7et0qu5p2qtmisvqgndn3kfi1b7u9ifl.apps.googleusercontent.com',
|
|
iosClientId: '187064172787-c5gs7fvp78om9r7dofkjn2qmpumkuvig.apps.googleusercontent.com',
|
|
iosBundleId: 'br.com.freaccess.hub',
|
|
);
|
|
|
|
} |