firebase_options.dart 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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: 'AIzaSyDooSUGSf63Ghq02_iIhtnmwMDs4HlWS6c',
  41. appId: '1:406099696497:ios:acd9c8e17b5e620e3574d0',
  42. messagingSenderId: '406099696497',
  43. projectId: 'flutterfire-e2e-tests',
  44. databaseURL:
  45. 'https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app',
  46. storageBucket: 'flutterfire-e2e-tests.appspot.com',
  47. androidClientId:
  48. '406099696497-tvtvuiqogct1gs1s6lh114jeps7hpjm5.apps.googleusercontent.com',
  49. iosClientId:
  50. '406099696497-taeapvle10rf355ljcvq5dt134mkghmp.apps.googleusercontent.com',
  51. iosBundleId: 'io.flutter.plugins.firebase.tests',
  52. );
  53. }