Init app firebase
This commit is contained in:
		
							
								
								
									
										95
									
								
								em2rp/lib/firebase_options.dart
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										95
									
								
								em2rp/lib/firebase_options.dart
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,95 @@ | ||||
| // 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: | ||||
|         return macos; | ||||
|       case TargetPlatform.windows: | ||||
|         return windows; | ||||
|       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: 'AIzaSyARQL4P-t5l-cNjQNP9cMokQrLJ8BorF0U', | ||||
|     appId: '1:341201262902:web:bb70b5ff45df80935a3b97', | ||||
|     messagingSenderId: '341201262902', | ||||
|     projectId: 'em2rp-951dc', | ||||
|     authDomain: 'em2rp-951dc.firebaseapp.com', | ||||
|     databaseURL: 'https://em2rp-951dc-default-rtdb.europe-west1.firebasedatabase.app', | ||||
|     storageBucket: 'em2rp-951dc.firebasestorage.app', | ||||
|   ); | ||||
|  | ||||
|   static const FirebaseOptions android = FirebaseOptions( | ||||
|     apiKey: 'AIzaSyDZ_rOp79JRJ563bxhq2P8V0IuJpM-kEuw', | ||||
|     appId: '1:341201262902:android:8c9a9e340ecb58665a3b97', | ||||
|     messagingSenderId: '341201262902', | ||||
|     projectId: 'em2rp-951dc', | ||||
|     databaseURL: 'https://em2rp-951dc-default-rtdb.europe-west1.firebasedatabase.app', | ||||
|     storageBucket: 'em2rp-951dc.firebasestorage.app', | ||||
|   ); | ||||
|  | ||||
|   static const FirebaseOptions ios = FirebaseOptions( | ||||
|     apiKey: 'AIzaSyChFsff6-dpRw3Os_ZeMGWRnV7NnbQJi4w', | ||||
|     appId: '1:341201262902:ios:767281c23dd9e76a5a3b97', | ||||
|     messagingSenderId: '341201262902', | ||||
|     projectId: 'em2rp-951dc', | ||||
|     databaseURL: 'https://em2rp-951dc-default-rtdb.europe-west1.firebasedatabase.app', | ||||
|     storageBucket: 'em2rp-951dc.firebasestorage.app', | ||||
|     androidClientId: '341201262902-opnuh9ri7ao77qlhebjhshsavplb7vsl.apps.googleusercontent.com', | ||||
|     iosClientId: '341201262902-22rdtoljpgk65lj76bqbk52v861d9lt0.apps.googleusercontent.com', | ||||
|     iosBundleId: 'com.em2.erp', | ||||
|   ); | ||||
|  | ||||
|   static const FirebaseOptions macos = FirebaseOptions( | ||||
|     apiKey: 'AIzaSyChFsff6-dpRw3Os_ZeMGWRnV7NnbQJi4w', | ||||
|     appId: '1:341201262902:ios:767281c23dd9e76a5a3b97', | ||||
|     messagingSenderId: '341201262902', | ||||
|     projectId: 'em2rp-951dc', | ||||
|     databaseURL: 'https://em2rp-951dc-default-rtdb.europe-west1.firebasedatabase.app', | ||||
|     storageBucket: 'em2rp-951dc.firebasestorage.app', | ||||
|     androidClientId: '341201262902-opnuh9ri7ao77qlhebjhshsavplb7vsl.apps.googleusercontent.com', | ||||
|     iosClientId: '341201262902-22rdtoljpgk65lj76bqbk52v861d9lt0.apps.googleusercontent.com', | ||||
|     iosBundleId: 'com.em2.erp', | ||||
|   ); | ||||
|  | ||||
|   static const FirebaseOptions windows = FirebaseOptions( | ||||
|     apiKey: 'AIzaSyARQL4P-t5l-cNjQNP9cMokQrLJ8BorF0U', | ||||
|     appId: '1:341201262902:web:faceb51cb184a2875a3b97', | ||||
|     messagingSenderId: '341201262902', | ||||
|     projectId: 'em2rp-951dc', | ||||
|     authDomain: 'em2rp-951dc.firebaseapp.com', | ||||
|     databaseURL: 'https://em2rp-951dc-default-rtdb.europe-west1.firebasedatabase.app', | ||||
|     storageBucket: 'em2rp-951dc.firebasestorage.app', | ||||
|   ); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user