84 lines
2.9 KiB
Dart
84 lines
2.9 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: 'AIzaSyAVtyV7YVMeLbwA1UlNPxV9FhCzT0kjeAE',
|
|
appId: '1:594687661098:web:8fe3c5b3cacb294c595f53',
|
|
messagingSenderId: '594687661098',
|
|
projectId: 'ride-b1bd8',
|
|
authDomain: 'ride-b1bd8.firebaseapp.com',
|
|
storageBucket: 'ride-b1bd8.appspot.com',
|
|
measurementId: 'G-7YCWM2EHD9',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyCyfwRXTwSTLOFQSQgN5p7QZgGJVZnEKq0',
|
|
appId: '1:594687661098:android:683982cbf71fa423595f53',
|
|
messagingSenderId: '594687661098',
|
|
projectId: 'ride-b1bd8',
|
|
storageBucket: 'ride-b1bd8.appspot.com',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyCf2mW2h0HD8ZYjwh4VOa2ladw6MJkCDTM',
|
|
appId: '1:594687661098:ios:6f69eee1449be943595f53',
|
|
messagingSenderId: '594687661098',
|
|
projectId: 'ride-b1bd8',
|
|
storageBucket: 'ride-b1bd8.appspot.com',
|
|
iosClientId: '594687661098-8e26699cris2k3nj5msj1osi59it9kpf.apps.googleusercontent.com',
|
|
iosBundleId: 'com.mobileapp.store.ride',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'AIzaSyCf2mW2h0HD8ZYjwh4VOa2ladw6MJkCDTM',
|
|
appId: '1:594687661098:ios:e8ca02ed508d4737595f53',
|
|
messagingSenderId: '594687661098',
|
|
projectId: 'ride-b1bd8',
|
|
storageBucket: 'ride-b1bd8.appspot.com',
|
|
iosClientId: '594687661098-od4d3lpsdba79shpjmala0a3lrps4spi.apps.googleusercontent.com',
|
|
iosBundleId: 'com.mobileapp.store.ride.RunnerTests',
|
|
);
|
|
}
|