firebase_options.dart 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // File generated by FlutterFire CLI.
  2. // ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
  3. import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
  4. import 'package:flutter/foundation.dart'
  5. show defaultTargetPlatform, kIsWeb, TargetPlatform;
  6. /// Default [FirebaseOptions] for use with your Firebase apps.
  7. ///
  8. /// Example:
  9. /// ```dart
  10. /// import 'firebase_options.dart';
  11. /// // ...
  12. /// await Firebase.initializeApp(
  13. /// options: DefaultFirebaseOptions.currentPlatform,
  14. /// );
  15. /// ```
  16. class DefaultFirebaseOptions {
  17. static FirebaseOptions get currentPlatform {
  18. if (kIsWeb) {
  19. throw UnsupportedError(
  20. 'DefaultFirebaseOptions have not been configured for web - '
  21. 'you can reconfigure this by running the FlutterFire CLI again.',
  22. );
  23. }
  24. switch (defaultTargetPlatform) {
  25. case TargetPlatform.android:
  26. return android;
  27. case TargetPlatform.iOS:
  28. return ios;
  29. case TargetPlatform.macOS:
  30. throw UnsupportedError(
  31. 'DefaultFirebaseOptions have not been configured for macos - '
  32. 'you can reconfigure this by running the FlutterFire CLI again.',
  33. );
  34. default:
  35. throw UnsupportedError(
  36. 'DefaultFirebaseOptions are not supported for this platform.',
  37. );
  38. }
  39. }
  40. static const FirebaseOptions android = FirebaseOptions(
  41. apiKey: 'AIzaSyBUb8raBFHQA_AwR5cUrdCT6TkoWjj_jO8',
  42. appId: '1:33414107403:android:aaf9d5af5ed2a103a1920e',
  43. messagingSenderId: '33414107403',
  44. projectId: 'physigo',
  45. storageBucket: 'physigo.appspot.com',
  46. );
  47. static const FirebaseOptions ios = FirebaseOptions(
  48. apiKey: 'AIzaSyC56cnz5wDs14J2QQnzGutFyhw1Rt_nc0Q',
  49. appId: '1:33414107403:ios:0f0aeb94928992ffa1920e',
  50. messagingSenderId: '33414107403',
  51. projectId: 'physigo',
  52. storageBucket: 'physigo.appspot.com',
  53. iosClientId: '33414107403-7e3vb8825iemlec2geietj4b00ldhbbj.apps.googleusercontent.com',
  54. iosBundleId: 'com.example.physigo',
  55. );
  56. }