Sin descripción
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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. case TargetPlatform.windows:
  35. throw UnsupportedError(
  36. 'DefaultFirebaseOptions have not been configured for windows - '
  37. 'you can reconfigure this by running the FlutterFire CLI again.',
  38. );
  39. case TargetPlatform.linux:
  40. throw UnsupportedError(
  41. 'DefaultFirebaseOptions have not been configured for linux - '
  42. 'you can reconfigure this by running the FlutterFire CLI again.',
  43. );
  44. default:
  45. throw UnsupportedError(
  46. 'DefaultFirebaseOptions are not supported for this platform.',
  47. );
  48. }
  49. }
  50. static const FirebaseOptions android = FirebaseOptions(
  51. apiKey: 'AIzaSyDUzNWQ2cvWrL77QHekf_FASfMb5KTDnuY',
  52. appId: '1:372840384875:android:cbf80d0700f53d3ffd642e',
  53. messagingSenderId: '372840384875',
  54. projectId: 'gsi---employee-self-service',
  55. databaseURL: 'https://gsi---employee-self-service-default-rtdb.asia-southeast1.firebasedatabase.app',
  56. storageBucket: 'gsi---employee-self-service.appspot.com',
  57. );
  58. static const FirebaseOptions ios = FirebaseOptions(
  59. apiKey: 'AIzaSyA2vkFoBVFd1B59MwvZlkkg0AgZpd6vzZw',
  60. appId: '1:372840384875:ios:729b20a1d7ac16b0fd642e',
  61. messagingSenderId: '372840384875',
  62. projectId: 'gsi---employee-self-service',
  63. databaseURL: 'https://gsi---employee-self-service-default-rtdb.asia-southeast1.firebasedatabase.app',
  64. storageBucket: 'gsi---employee-self-service.appspot.com',
  65. iosClientId: '372840384875-g36dgtu6u66umuvp045b6pivb58cldlp.apps.googleusercontent.com',
  66. iosBundleId: 'com.example.hrisSelfserviceMobile',
  67. );
  68. }