firebase_options.dart 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // Copyright 2022, the Chromium project authors. Please see the AUTHORS file
  2. // for details. All rights reserved. Use of this source code is governed by a
  3. // BSD-style license that can be found in the LICENSE file.
  4. // File generated by FlutterFire CLI.
  5. // ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
  6. import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
  7. import 'package:flutter/foundation.dart'
  8. show defaultTargetPlatform, kIsWeb, TargetPlatform;
  9. /// Default [FirebaseOptions] for use with your Firebase apps.
  10. ///
  11. /// Example:
  12. /// ```dart
  13. /// import 'firebase_options.dart';
  14. /// // ...
  15. /// await Firebase.initializeApp(
  16. /// options: DefaultFirebaseOptions.currentPlatform,
  17. /// );
  18. /// ```
  19. class MyFirebaseOptions {
  20. static FirebaseOptions get currentPlatform {
  21. switch (defaultTargetPlatform) {
  22. case TargetPlatform.android:
  23. return android;
  24. case TargetPlatform.iOS:
  25. return ios;
  26. default:
  27. throw UnsupportedError(
  28. 'MyFirebaseOptions are not supported for this platform.',
  29. );
  30. }
  31. }
  32. static const FirebaseOptions android = FirebaseOptions(
  33. apiKey: 'AIzaSyB7dHuJPzIfte7SHkKeeflzijLd33iRvt0',
  34. appId: '1:826534850691:android:d7780551ab203907262bb6',
  35. messagingSenderId: '826534850691',
  36. projectId: 'ifm-21739',
  37. storageBucket: 'ifm-21739.firebasestorage.app'
  38. );
  39. static const FirebaseOptions ios = FirebaseOptions(
  40. apiKey: 'AIzaSyB0js4be6MN7iB8FbQ6pu03Hjw4TPkYBgE',
  41. appId: '1:826534850691:ios:16c725bf24a7d1e9262bb6',
  42. messagingSenderId: '826534850691',
  43. projectId: 'ifm-21739',
  44. storageBucket: 'ifm-21739.firebasestorage.app',
  45. iosBundleId: 'com.hongyegroup.app24ifm',
  46. );
  47. }