88 lines
3.0 KiB
Dart
88 lines
3.0 KiB
Dart
// File generated by flutterfire_cli.
|
|
// ignore_for_file: type=lint
|
|
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
|
|
import 'package:flutter/foundation.dart'
|
|
show defaultTargetPlatform, kIsWeb, TargetPlatform;
|
|
|
|
/// `FlutterFire` configuration for all supported platforms.
|
|
/// To reconfigure this project, run the FlutterFire CLI again.
|
|
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:
|
|
return windows;
|
|
case TargetPlatform.linux:
|
|
return linux;
|
|
default:
|
|
throw UnsupportedError(
|
|
'DefaultFirebaseOptions are not supported for this platform.',
|
|
);
|
|
}
|
|
}
|
|
|
|
static const FirebaseOptions web = FirebaseOptions(
|
|
apiKey: 'AIzaSyBSiKmrJ8KavoJTI_ISVUy4QInYCo1DFeE',
|
|
appId: '1:22111260761:web:2548e11b4d3149a8002148',
|
|
messagingSenderId: '22111260761',
|
|
projectId: 'telurku-fa78c',
|
|
authDomain: 'telurku-fa78c.firebaseapp.com',
|
|
storageBucket: 'telurku-fa78c.firebasestorage.app',
|
|
databaseURL:
|
|
'https://telurku-fa78c-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
measurementId: 'G-J6PDHGM1YM',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyCwF_fiwc1Cpsy570bvCYijRjHi1sd8n8U',
|
|
appId: '1:22111260761:android:d9b30f13c92df54a002148',
|
|
messagingSenderId: '22111260761',
|
|
projectId: 'telurku-fa78c',
|
|
storageBucket: 'telurku-fa78c.firebasestorage.app',
|
|
databaseURL:
|
|
'https://telurku-fa78c-default-rtdb.asia-southeast1.firebasedatabase.app',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'YOUR_IOS_API_KEY',
|
|
appId: '1:YOUR_PROJECT_ID:ios:YOUR_APP_ID',
|
|
messagingSenderId: 'YOUR_MESSAGING_SENDER_ID',
|
|
projectId: 'YOUR_PROJECT_ID',
|
|
storageBucket: 'YOUR_PROJECT_ID.appspot.com',
|
|
iosBundleId: 'com.example.telurku',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'YOUR_MACOS_API_KEY',
|
|
appId: '1:YOUR_PROJECT_ID:macos:YOUR_APP_ID',
|
|
messagingSenderId: 'YOUR_MESSAGING_SENDER_ID',
|
|
projectId: 'YOUR_PROJECT_ID',
|
|
storageBucket: 'YOUR_PROJECT_ID.appspot.com',
|
|
iosBundleId: 'com.example.telurku.macos',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'YOUR_WINDOWS_API_KEY',
|
|
appId: '1:YOUR_PROJECT_ID:windows:YOUR_APP_ID',
|
|
messagingSenderId: 'YOUR_MESSAGING_SENDER_ID',
|
|
projectId: 'YOUR_PROJECT_ID',
|
|
storageBucket: 'YOUR_PROJECT_ID.appspot.com',
|
|
);
|
|
|
|
static const FirebaseOptions linux = FirebaseOptions(
|
|
apiKey: 'YOUR_LINUX_API_KEY',
|
|
appId: '1:YOUR_PROJECT_ID:linux:YOUR_APP_ID',
|
|
messagingSenderId: 'YOUR_MESSAGING_SENDER_ID',
|
|
projectId: 'YOUR_PROJECT_ID',
|
|
storageBucket: 'YOUR_PROJECT_ID.appspot.com',
|
|
);
|
|
}
|