No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

firebase_options.dart 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. throw UnsupportedError(
  27. 'DefaultFirebaseOptions have not been configured for android - '
  28. 'you can reconfigure this by running the FlutterFire CLI again.',
  29. );
  30. case TargetPlatform.iOS:
  31. return ios;
  32. case TargetPlatform.macOS:
  33. throw UnsupportedError(
  34. 'DefaultFirebaseOptions have not been configured for macos - '
  35. 'you can reconfigure this by running the FlutterFire CLI again.',
  36. );
  37. case TargetPlatform.windows:
  38. throw UnsupportedError(
  39. 'DefaultFirebaseOptions have not been configured for windows - '
  40. 'you can reconfigure this by running the FlutterFire CLI again.',
  41. );
  42. case TargetPlatform.linux:
  43. throw UnsupportedError(
  44. 'DefaultFirebaseOptions have not been configured for linux - '
  45. 'you can reconfigure this by running the FlutterFire CLI again.',
  46. );
  47. default:
  48. throw UnsupportedError(
  49. 'DefaultFirebaseOptions are not supported for this platform.',
  50. );
  51. }
  52. }
  53. static const FirebaseOptions ios = FirebaseOptions(
  54. apiKey: 'AIzaSyBd8GnJrHukkhuqBedhGjpppUaybZt2eqk',
  55. appId: '1:882999599258:ios:833092d4b56f3f16f0bf23',
  56. messagingSenderId: '882999599258',
  57. projectId: 'towerapp-7c319',
  58. storageBucket: 'towerapp-7c319.appspot.com',
  59. iosBundleId: 'com.icp.tower',
  60. );
  61. }