71 lines
2.3 KiB
Dart
71 lines
2.3 KiB
Dart
// File generated by FlutterFire CLI.
|
|
// ignore_for_file: lines_longer_than_80_chars
|
|
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;
|
|
}
|
|
// ignore: missing_enum_constant_in_switch
|
|
switch (defaultTargetPlatform) {
|
|
case TargetPlatform.android:
|
|
return android;
|
|
case TargetPlatform.iOS:
|
|
return ios;
|
|
case TargetPlatform.macOS:
|
|
throw UnsupportedError(
|
|
'DefaultFirebaseOptions have not been configured for macos - '
|
|
'you can reconfigure this by running the FlutterFire CLI again.',
|
|
);
|
|
}
|
|
|
|
throw UnsupportedError(
|
|
'DefaultFirebaseOptions are not supported for this platform.',
|
|
);
|
|
}
|
|
|
|
static const FirebaseOptions web = FirebaseOptions(
|
|
apiKey: 'AIzaSyCxdDUpkpW7onOicIcIDcIVvPC8ll1twCQ',
|
|
appId: '1:136771801992:web:e757595ae62e646297203d',
|
|
messagingSenderId: '136771801992',
|
|
projectId: 'tchat-beta',
|
|
authDomain: 'tchat-beta.firebaseapp.com',
|
|
databaseURL: 'https://tchat-beta.firebaseio.com',
|
|
storageBucket: 'tchat-beta.appspot.com',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyAYS14uXupkS158Q5QAFP1864UrUN_yDSk',
|
|
appId: '1:136771801992:android:d20e0361057e815197203d',
|
|
messagingSenderId: '136771801992',
|
|
projectId: 'tchat-beta',
|
|
databaseURL: 'https://tchat-beta.firebaseio.com',
|
|
storageBucket: 'tchat-beta.appspot.com',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyCDbbhjbFrQwLXuIANdJzjkDk8uOETnn7w',
|
|
appId: '1:136771801992:ios:6fe69c0bea08b7b397203d',
|
|
messagingSenderId: '136771801992',
|
|
projectId: 'tchat-beta',
|
|
databaseURL: 'https://tchat-beta.firebaseio.com',
|
|
storageBucket: 'tchat-beta.appspot.com',
|
|
iosClientId:
|
|
'136771801992-e585bm1n9b3lv89t4phrl9u0glsg52ua.apps.googleusercontent.com',
|
|
iosBundleId: 'com.example.example',
|
|
);
|
|
}
|