Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

69 řádky
2.3 KiB

  1. // File generated by FlutterFire CLI.
  2. // ignore_for_file: type=lint
  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: 'AIzaSyAuDK456j4fFdNqrzQRDYyWRcB0VkQ2bCY',
  52. appId: '1:392489806594:android:6944e598f4a3f5313b301b',
  53. messagingSenderId: '392489806594',
  54. projectId: 'folad-neiriz',
  55. storageBucket: 'folad-neiriz.firebasestorage.app',
  56. );
  57. static const FirebaseOptions ios = FirebaseOptions(
  58. apiKey: 'AIzaSyDmiLNq_t5wyqDE2VW1wGyt6kArchRvLAQ',
  59. appId: '1:392489806594:ios:b93d93374e9671ee3b301b',
  60. messagingSenderId: '392489806594',
  61. projectId: 'folad-neiriz',
  62. storageBucket: 'folad-neiriz.firebasestorage.app',
  63. iosBundleId: 'com.nghsco.mizban',
  64. );
  65. }