暫無描述
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.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. return web;
  20. }
  21. switch (defaultTargetPlatform) {
  22. case TargetPlatform.android:
  23. return android;
  24. case TargetPlatform.iOS:
  25. return ios;
  26. case TargetPlatform.macOS:
  27. return macos;
  28. case TargetPlatform.windows:
  29. throw UnsupportedError(
  30. 'DefaultFirebaseOptions have not been configured for windows - '
  31. 'you can reconfigure this by running the FlutterFire CLI again.',
  32. );
  33. case TargetPlatform.linux:
  34. throw UnsupportedError(
  35. 'DefaultFirebaseOptions have not been configured for linux - '
  36. 'you can reconfigure this by running the FlutterFire CLI again.',
  37. );
  38. default:
  39. throw UnsupportedError(
  40. 'DefaultFirebaseOptions are not supported for this platform.',
  41. );
  42. }
  43. }
  44. static const FirebaseOptions web = FirebaseOptions(
  45. apiKey: 'AIzaSyBNRdnOpCYHm70Qc0Jo4sEH8lEpqhfVm2I',
  46. appId: '1:11716618948:web:19cebf44e0d875f0937791',
  47. messagingSenderId: '11716618948',
  48. projectId: 'canvas-56baa',
  49. authDomain: 'canvas-56baa.firebaseapp.com',
  50. storageBucket: 'canvas-56baa.appspot.com',
  51. measurementId: 'G-F5J2T5S5VC',
  52. );
  53. static const FirebaseOptions android = FirebaseOptions(
  54. apiKey: 'AIzaSyAsylxl5a2treqN-GI1lqcx6Ode6-hl8hk',
  55. appId: '1:11716618948:android:e8a6512d2d905094937791',
  56. messagingSenderId: '11716618948',
  57. projectId: 'canvas-56baa',
  58. storageBucket: 'canvas-56baa.appspot.com',
  59. );
  60. static const FirebaseOptions ios = FirebaseOptions(
  61. apiKey: 'AIzaSyBqWHTEHPlp6FFcTGQXkwuMsOcEopWG3F8',
  62. appId: '1:11716618948:ios:2cfdbccbd58e6267937791',
  63. messagingSenderId: '11716618948',
  64. projectId: 'canvas-56baa',
  65. storageBucket: 'canvas-56baa.appspot.com',
  66. iosBundleId: 'com.urp.hris',
  67. );
  68. static const FirebaseOptions macos = FirebaseOptions(
  69. apiKey: 'AIzaSyBqWHTEHPlp6FFcTGQXkwuMsOcEopWG3F8',
  70. appId: '1:11716618948:ios:2cfdbccbd58e6267937791',
  71. messagingSenderId: '11716618948',
  72. projectId: 'canvas-56baa',
  73. storageBucket: 'canvas-56baa.appspot.com',
  74. iosBundleId: 'com.urp.hris',
  75. );
  76. }