3import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
4import 'package:flutter/foundation.dart'
5 show defaultTargetPlatform, kIsWeb, TargetPlatform;
20 throw UnsupportedError(
21 'DefaultFirebaseOptions have not been configured for web - '
22 'you can reconfigure this by running the FlutterFire CLI again.',
25 switch (defaultTargetPlatform) {
26 case TargetPlatform.android:
28 case TargetPlatform.iOS:
30 case TargetPlatform.macOS:
31 throw UnsupportedError(
32 'DefaultFirebaseOptions have not been configured for macos - '
33 'you can reconfigure this by running the FlutterFire CLI again.',
35 case TargetPlatform.windows:
36 throw UnsupportedError(
37 'DefaultFirebaseOptions have not been configured for windows - '
38 'you can reconfigure this by running the FlutterFire CLI again.',
40 case TargetPlatform.linux:
41 throw UnsupportedError(
42 'DefaultFirebaseOptions have not been configured for linux - '
43 'you can reconfigure this by running the FlutterFire CLI again.',
46 throw UnsupportedError(
47 'DefaultFirebaseOptions are not supported for this platform.',
52 static const FirebaseOptions android = FirebaseOptions(
53 apiKey:
'AIzaSyAlQntGpudVYApM4dyQ1QIAsQVtHeJNhTM',
54 appId:
'1:585881539598:android:3994fc4f55c4c6f40cd85f',
55 messagingSenderId:
'585881539598',
56 projectId:
'aidra-saas',
57 databaseURL:
'https://aidra-saas-default-rtdb.asia-southeast1.firebasedatabase.app',
58 storageBucket:
'aidra-saas.firebasestorage.app',
61 static const FirebaseOptions
ios = FirebaseOptions(
62 apiKey:
'AIzaSyAGc0lfVz9tzQqtJvqdTV7syvZn933LCds',
63 appId:
'1:585881539598:ios:4c727b5e8876ebd00cd85f',
64 messagingSenderId:
'585881539598',
65 projectId:
'aidra-saas',
66 databaseURL:
'https://aidra-saas-default-rtdb.asia-southeast1.firebasedatabase.app',
67 storageBucket:
'aidra-saas.firebasestorage.app',
68 iosBundleId:
'com.aidra.driver',
Default [FirebaseOptions] for use with your Firebase apps.
static const FirebaseOptions ios
static FirebaseOptions get currentPlatform
String get(String locale)