90 lines
3.4 KiB
Dart
90 lines
3.4 KiB
Dart
// File generated by FlutterFire CLI.
|
|
// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
|
|
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
|
|
import 'package:flutter/foundation.dart'
|
|
show defaultTargetPlatform, kIsWeb, TargetPlatform;
|
|
|
|
/// Default [FirebaseOptions] for use with your Firebase apps.
|
|
///
|
|
/// Example:
|
|
/// ```dart
|
|
/// import 'firebase_options.dart';
|
|
/// // ...
|
|
/// await Firebase.initializeApp(
|
|
/// options: DefaultFirebaseOptions.currentPlatform,
|
|
/// );
|
|
/// ```
|
|
class DefaultFirebaseOptions {
|
|
static FirebaseOptions get currentPlatform {
|
|
if (kIsWeb) {
|
|
return web;
|
|
}
|
|
switch (defaultTargetPlatform) {
|
|
case TargetPlatform.android:
|
|
return android;
|
|
case TargetPlatform.iOS:
|
|
return ios;
|
|
case TargetPlatform.macOS:
|
|
return macos;
|
|
case TargetPlatform.windows:
|
|
throw UnsupportedError(
|
|
'DefaultFirebaseOptions have not been configured for windows - '
|
|
'you can reconfigure this by running the FlutterFire CLI again.',
|
|
);
|
|
case TargetPlatform.linux:
|
|
throw UnsupportedError(
|
|
'DefaultFirebaseOptions have not been configured for linux - '
|
|
'you can reconfigure this by running the FlutterFire CLI again.',
|
|
);
|
|
default:
|
|
throw UnsupportedError(
|
|
'DefaultFirebaseOptions are not supported for this platform.',
|
|
);
|
|
}
|
|
}
|
|
|
|
static const FirebaseOptions web = FirebaseOptions(
|
|
apiKey: 'AIzaSyA4Obi2paSQ1IZZ88OcMC98DJlpV16DAzE',
|
|
appId: '1:674907137625:web:a4b97e5d080ec165d7f348',
|
|
messagingSenderId: '674907137625',
|
|
projectId: 'stream-chat-internal',
|
|
authDomain: 'stream-chat-internal.firebaseapp.com',
|
|
databaseURL: 'https://stream-chat-internal.firebaseio.com',
|
|
storageBucket: 'stream-chat-internal.appspot.com',
|
|
measurementId: 'G-F2RV4P139L',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyBArS4RH7lUn3xbD-jhzWl5hVWZhliRgY0',
|
|
appId: '1:674907137625:android:e55b74fd5747e39ad7f348',
|
|
messagingSenderId: '674907137625',
|
|
projectId: 'stream-chat-internal',
|
|
databaseURL: 'https://stream-chat-internal.firebaseio.com',
|
|
storageBucket: 'stream-chat-internal.appspot.com',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyBTAsaKFUPLAJqfsLiz0yPUVzwrgJkOwSE',
|
|
appId: '1:674907137625:ios:cafb9fb076a453c4d7f348',
|
|
messagingSenderId: '674907137625',
|
|
projectId: 'stream-chat-internal',
|
|
databaseURL: 'https://stream-chat-internal.firebaseio.com',
|
|
storageBucket: 'stream-chat-internal.appspot.com',
|
|
androidClientId: '674907137625-2scfo9a5cs074dced5vhm712ej6hhtpm.apps.googleusercontent.com',
|
|
iosClientId: '674907137625-flarfn9cefu4lermgpbc4b8rm8l15ian.apps.googleusercontent.com',
|
|
iosBundleId: 'io.getstream.flutter',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'AIzaSyBTAsaKFUPLAJqfsLiz0yPUVzwrgJkOwSE',
|
|
appId: '1:674907137625:ios:c719c700198c28b1d7f348',
|
|
messagingSenderId: '674907137625',
|
|
projectId: 'stream-chat-internal',
|
|
databaseURL: 'https://stream-chat-internal.firebaseio.com',
|
|
storageBucket: 'stream-chat-internal.appspot.com',
|
|
androidClientId: '674907137625-2scfo9a5cs074dced5vhm712ej6hhtpm.apps.googleusercontent.com',
|
|
iosClientId: '674907137625-p3msks3snq0h22l7ekpqcf0frr0vt8mg.apps.googleusercontent.com',
|
|
iosBundleId: 'io.getstream.streamChatV1',
|
|
);
|
|
}
|