You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.9 KiB
88 lines
2.9 KiB
// 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;
|
|
|
|
/// 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:
|
|
return windows;
|
|
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: 'AIzaSyBJXQTXsEmY_XA7ZEOusxG6VF5CaKtjHCA',
|
|
appId: '1:907754492821:web:99451e7efd7d120a145c9c',
|
|
messagingSenderId: '907754492821',
|
|
projectId: 'voitrans-e0e3d',
|
|
authDomain: 'voitrans-e0e3d.firebaseapp.com',
|
|
storageBucket: 'voitrans-e0e3d.firebasestorage.app',
|
|
measurementId: 'G-ETX6DF35J3',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyDPvThoWXxZ-LhE0gS9KH51jRE3f8YTmOE',
|
|
appId: '1:733281995296:android:fd51ec5604787ab7d70a45',
|
|
messagingSenderId: '733281995296',
|
|
projectId: 'voitrans',
|
|
storageBucket: 'voitrans.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyBEQPL-2Qh6fERxrxLP9Pzcm95mTmTpBxE',
|
|
appId: '1:733281995296:ios:6a8351691312100bd70a45',
|
|
messagingSenderId: '733281995296',
|
|
projectId: 'voitrans',
|
|
storageBucket: 'voitrans.firebasestorage.app',
|
|
iosBundleId: 'com.saitong.voitrans',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'AIzaSyBEQPL-2Qh6fERxrxLP9Pzcm95mTmTpBxE',
|
|
appId: '1:733281995296:ios:6a8351691312100bd70a45',
|
|
messagingSenderId: '733281995296',
|
|
projectId: 'voitrans',
|
|
storageBucket: 'voitrans.firebasestorage.app',
|
|
iosBundleId: 'com.saitong.voitrans',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyBJXQTXsEmY_XA7ZEOusxG6VF5CaKtjHCA',
|
|
appId: '1:907754492821:web:e3e8040111db6871145c9c',
|
|
messagingSenderId: '907754492821',
|
|
projectId: 'voitrans-e0e3d',
|
|
authDomain: 'voitrans-e0e3d.firebaseapp.com',
|
|
storageBucket: 'voitrans-e0e3d.firebasestorage.app',
|
|
measurementId: 'G-SKGXEK5TJM',
|
|
);
|
|
}
|
|
|