|
| 1 | +// File generated by FlutterFire CLI. |
| 2 | +import 'package:firebase_core/firebase_core.dart' show FirebaseOptions; |
| 3 | +import 'package:flutter/foundation.dart' |
| 4 | + show defaultTargetPlatform, kIsWeb, TargetPlatform; |
| 5 | + |
| 6 | +class DefaultFirebaseOptions { |
| 7 | + static FirebaseOptions get currentPlatform { |
| 8 | + if (kIsWeb) { |
| 9 | + return web; |
| 10 | + } |
| 11 | + // ignore: missing_enum_constant_in_switch |
| 12 | + switch (defaultTargetPlatform) { |
| 13 | + case TargetPlatform.android: |
| 14 | + return android; |
| 15 | + case TargetPlatform.iOS: |
| 16 | + return ios; |
| 17 | + case TargetPlatform.macOS: |
| 18 | + return macos; |
| 19 | + } |
| 20 | + |
| 21 | + throw UnsupportedError( |
| 22 | + 'DefaultFirebaseOptions are not supported for this platform.', |
| 23 | + ); |
| 24 | + } |
| 25 | + |
| 26 | + static const FirebaseOptions web = FirebaseOptions( |
| 27 | + apiKey: 'AIzaSyAgUhHU8wSJgO5MVNy95tMT07NEjzMOfz0', |
| 28 | + appId: '1:448618578101:web:a8ebc6ab724e6baaac3efc', |
| 29 | + messagingSenderId: '448618578101', |
| 30 | + projectId: 'react-native-firebase-testing', |
| 31 | + authDomain: 'react-native-firebase-testing.firebaseapp.com', |
| 32 | + databaseURL: 'https://react-native-firebase-testing.firebaseio.com', |
| 33 | + storageBucket: 'react-native-firebase-testing.appspot.com', |
| 34 | + measurementId: 'G-RF9GF9MQ1F', |
| 35 | + ); |
| 36 | + |
| 37 | + static const FirebaseOptions android = FirebaseOptions( |
| 38 | + apiKey: 'AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA', |
| 39 | + appId: '1:448618578101:android:0568e76dc62e89bcac3efc', |
| 40 | + messagingSenderId: '448618578101', |
| 41 | + projectId: 'react-native-firebase-testing', |
| 42 | + databaseURL: 'https://react-native-firebase-testing.firebaseio.com', |
| 43 | + storageBucket: 'react-native-firebase-testing.appspot.com', |
| 44 | + ); |
| 45 | + |
| 46 | + static const FirebaseOptions ios = FirebaseOptions( |
| 47 | + apiKey: 'AIzaSyAHAsf51D0A407EklG1bs-5wA7EbyfNFg0', |
| 48 | + appId: '1:448618578101:ios:0b11ed8263232715ac3efc', |
| 49 | + messagingSenderId: '448618578101', |
| 50 | + projectId: 'react-native-firebase-testing', |
| 51 | + databaseURL: 'https://react-native-firebase-testing.firebaseio.com', |
| 52 | + storageBucket: 'react-native-firebase-testing.appspot.com', |
| 53 | + androidClientId: |
| 54 | + '448618578101-a9p7bj5jlakabp22fo3cbkj7nsmag24e.apps.googleusercontent.com', |
| 55 | + iosClientId: |
| 56 | + '448618578101-evbjdqq9co9v29pi8jcua8bm7kr4smuu.apps.googleusercontent.com', |
| 57 | + iosBundleId: 'io.flutter.plugins.firebase.messaging', |
| 58 | + ); |
| 59 | + |
| 60 | + static const FirebaseOptions macos = FirebaseOptions( |
| 61 | + apiKey: 'AIzaSyAHAsf51D0A407EklG1bs-5wA7EbyfNFg0', |
| 62 | + appId: '1:448618578101:ios:0b11ed8263232715ac3efc', |
| 63 | + messagingSenderId: '448618578101', |
| 64 | + projectId: 'react-native-firebase-testing', |
| 65 | + databaseURL: 'https://react-native-firebase-testing.firebaseio.com', |
| 66 | + storageBucket: 'react-native-firebase-testing.appspot.com', |
| 67 | + androidClientId: |
| 68 | + '448618578101-a9p7bj5jlakabp22fo3cbkj7nsmag24e.apps.googleusercontent.com', |
| 69 | + iosClientId: |
| 70 | + '448618578101-evbjdqq9co9v29pi8jcua8bm7kr4smuu.apps.googleusercontent.com', |
| 71 | + iosBundleId: 'io.flutter.plugins.firebase.messaging', |
| 72 | + ); |
| 73 | +} |
0 commit comments