86 lines
2.9 KiB
Dart
86 lines
2.9 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;
|
|
|
|
/// 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 android = FirebaseOptions(
|
|
apiKey: 'AIzaSyCPew9iGolLyI8f-uZUD7QhG4IE0hl20LU',
|
|
appId: '1:139325012385:android:552cbaeca54851979fb3e0',
|
|
messagingSenderId: '139325012385',
|
|
projectId: 'tripz-7883a',
|
|
storageBucket: 'tripz-7883a.firebasestorage.app',
|
|
);
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyB6chzJf14YXUM9wWXIGNLlHfmNg5Jrw6E',
|
|
appId: '1:139325012385:ios:964034e702133d609fb3e0',
|
|
messagingSenderId: '139325012385',
|
|
projectId: 'tripz-7883a',
|
|
storageBucket: 'tripz-7883a.firebasestorage.app',
|
|
iosBundleId: 'com.mobileapp.store.ride',
|
|
);
|
|
static const FirebaseOptions web = FirebaseOptions(
|
|
apiKey: 'AIzaSyAUIVdZt8pNaplroGUJMe1QP2-OXZj4Yz8',
|
|
appId: '1:139325012385:web:0820c0966e1dca869fb3e0',
|
|
messagingSenderId: '139325012385',
|
|
projectId: 'tripz-7883a',
|
|
authDomain: 'tripz-7883a.firebaseapp.com',
|
|
storageBucket: 'tripz-7883a.firebasestorage.app',
|
|
measurementId: 'G-53TJZG613C',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'AIzaSyB6chzJf14YXUM9wWXIGNLlHfmNg5Jrw6E',
|
|
appId: '1:139325012385:ios:964034e702133d609fb3e0',
|
|
messagingSenderId: '139325012385',
|
|
projectId: 'tripz-7883a',
|
|
storageBucket: 'tripz-7883a.firebasestorage.app',
|
|
iosBundleId: 'com.mobileapp.store.ride',
|
|
);
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyAVtyV7YVMeLbwA1UlNPxV9FhCzT0kjeAE',
|
|
appId: '1:594687661098:web:d9f43a2091395d87595f53',
|
|
messagingSenderId: '594687661098',
|
|
projectId: 'ride-b1bd8',
|
|
authDomain: 'ride-b1bd8.firebaseapp.com',
|
|
storageBucket: 'ride-b1bd8.appspot.com',
|
|
measurementId: 'G-C3DWQ8Z062',
|
|
);
|
|
}
|