11// File generated by FlutterFire CLI.
22// 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;
3+ // import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
4+ // import 'package:flutter/foundation.dart'
5+ // show defaultTargetPlatform, kIsWeb, TargetPlatform;
66
77/// Default [FirebaseOptions] for use with your Firebase apps.
88///
@@ -14,57 +14,57 @@ import 'package:flutter/foundation.dart'
1414/// options: DefaultFirebaseOptions.currentPlatform,
1515/// );
1616/// ```
17- class DefaultFirebaseOptions {
18- static FirebaseOptions get currentPlatform {
19- if (kIsWeb) {
20- throw UnsupportedError (
21- 'DefaultFirebaseOptions have not been configured for web - '
22- 'you can reconfigure this by running the FlutterFire CLI again.' ,
23- );
24- }
25- switch (defaultTargetPlatform) {
26- case TargetPlatform .android:
27- return android;
28- case TargetPlatform .iOS:
29- return ios;
30- case TargetPlatform .macOS:
31- throw UnsupportedError (
32- 'DefaultFirebaseOptions have not been configured for macos - '
33- 'you can reconfigure this by running the FlutterFire CLI again.' ,
34- );
35- case TargetPlatform .windows:
36- throw UnsupportedError (
37- 'DefaultFirebaseOptions have not been configured for windows - '
38- 'you can reconfigure this by running the FlutterFire CLI again.' ,
39- );
40- case TargetPlatform .linux:
41- throw UnsupportedError (
42- 'DefaultFirebaseOptions have not been configured for linux - '
43- 'you can reconfigure this by running the FlutterFire CLI again.' ,
44- );
45- default :
46- throw UnsupportedError (
47- 'DefaultFirebaseOptions are not supported for this platform.' ,
48- );
49- }
50- }
51-
52- static const FirebaseOptions android = FirebaseOptions (
53- apiKey: 'AIzaSyBqCLgp5h6_dHlMJzKSsCfnSFawfFjCK1c' ,
54- appId: '1:223276840801:android:8c43b96e396a1781b77720' ,
55- messagingSenderId: '223276840801' ,
56- projectId: 'flutter-gen-5b267' ,
57- storageBucket: 'flutter-gen-5b267.appspot.com' ,
58- );
59-
60- static const FirebaseOptions ios = FirebaseOptions (
61- apiKey: 'AIzaSyChOfD8XNEdGZtB3Gdqg9J5GRLgUuH9jo8' ,
62- appId: '1:223276840801:ios:b5be85aa3c64059db77720' ,
63- messagingSenderId: '223276840801' ,
64- projectId: 'flutter-gen-5b267' ,
65- storageBucket: 'flutter-gen-5b267.appspot.com' ,
66- iosClientId:
67- '223276840801-p876k56nj46ka6r8bmhkj5s6qiopoe1l.apps.googleusercontent.com' ,
68- iosBundleId: 'com.example.example' ,
69- );
70- }
17+ // class DefaultFirebaseOptions {
18+ // static FirebaseOptions get currentPlatform {
19+ // if (kIsWeb) {
20+ // throw UnsupportedError(
21+ // 'DefaultFirebaseOptions have not been configured for web - '
22+ // 'you can reconfigure this by running the FlutterFire CLI again.',
23+ // );
24+ // }
25+ // switch (defaultTargetPlatform) {
26+ // case TargetPlatform.android:
27+ // return android;
28+ // case TargetPlatform.iOS:
29+ // return ios;
30+ // case TargetPlatform.macOS:
31+ // throw UnsupportedError(
32+ // 'DefaultFirebaseOptions have not been configured for macos - '
33+ // 'you can reconfigure this by running the FlutterFire CLI again.',
34+ // );
35+ // case TargetPlatform.windows:
36+ // throw UnsupportedError(
37+ // 'DefaultFirebaseOptions have not been configured for windows - '
38+ // 'you can reconfigure this by running the FlutterFire CLI again.',
39+ // );
40+ // case TargetPlatform.linux:
41+ // throw UnsupportedError(
42+ // 'DefaultFirebaseOptions have not been configured for linux - '
43+ // 'you can reconfigure this by running the FlutterFire CLI again.',
44+ // );
45+ // default:
46+ // throw UnsupportedError(
47+ // 'DefaultFirebaseOptions are not supported for this platform.',
48+ // );
49+ // }
50+ // }
51+ //
52+ // static const FirebaseOptions android = FirebaseOptions(
53+ // apiKey: 'AIzaSyBqCLgp5h6_dHlMJzKSsCfnSFawfFjCK1c',
54+ // appId: '1:223276840801:android:8c43b96e396a1781b77720',
55+ // messagingSenderId: '223276840801',
56+ // projectId: 'flutter-gen-5b267',
57+ // storageBucket: 'flutter-gen-5b267.appspot.com',
58+ // );
59+ //
60+ // static const FirebaseOptions ios = FirebaseOptions(
61+ // apiKey: 'AIzaSyChOfD8XNEdGZtB3Gdqg9J5GRLgUuH9jo8',
62+ // appId: '1:223276840801:ios:b5be85aa3c64059db77720',
63+ // messagingSenderId: '223276840801',
64+ // projectId: 'flutter-gen-5b267',
65+ // storageBucket: 'flutter-gen-5b267.appspot.com',
66+ // iosClientId:
67+ // '223276840801-p876k56nj46ka6r8bmhkj5s6qiopoe1l.apps.googleusercontent.com',
68+ // iosBundleId: 'com.example.example',
69+ // );
70+ // }
0 commit comments