89 lines
3.0 KiB
Dart
89 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;
|
|
|
|
/// 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: 'AIzaSyCOStvvJl678YqJ5TJoO6fI7q7L_686M8U',
|
|
appId: '1:230191525153:web:b2af0668c903a80141e260',
|
|
messagingSenderId: '230191525153',
|
|
projectId: 'trainerbox-ad7df',
|
|
authDomain: 'trainerbox-ad7df.firebaseapp.com',
|
|
storageBucket: 'trainerbox-ad7df.firebasestorage.app',
|
|
measurementId: 'G-VQ6DRY88ZE',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyCzfE7R5OcAAODO7-EVdsjRiP6zyoM-Bvg',
|
|
appId: '1:230191525153:android:e81aa0f25d5e49ff41e260',
|
|
messagingSenderId: '230191525153',
|
|
projectId: 'trainerbox-ad7df',
|
|
storageBucket: 'trainerbox-ad7df.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyBniX4ZIS8i0mjzoulPc2l7B0SHiWqw4U0',
|
|
appId: '1:230191525153:ios:256587ef2d8bdf9d41e260',
|
|
messagingSenderId: '230191525153',
|
|
projectId: 'trainerbox-ad7df',
|
|
storageBucket: 'trainerbox-ad7df.firebasestorage.app',
|
|
iosBundleId: 'com.example.trainerbox',
|
|
);
|
|
|
|
static const FirebaseOptions macos = FirebaseOptions(
|
|
apiKey: 'AIzaSyBniX4ZIS8i0mjzoulPc2l7B0SHiWqw4U0',
|
|
appId: '1:230191525153:ios:256587ef2d8bdf9d41e260',
|
|
messagingSenderId: '230191525153',
|
|
projectId: 'trainerbox-ad7df',
|
|
storageBucket: 'trainerbox-ad7df.firebasestorage.app',
|
|
iosBundleId: 'com.example.trainerbox',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyCOStvvJl678YqJ5TJoO6fI7q7L_686M8U',
|
|
appId: '1:230191525153:web:4141eb2fcce10e9841e260',
|
|
messagingSenderId: '230191525153',
|
|
projectId: 'trainerbox-ad7df',
|
|
authDomain: 'trainerbox-ad7df.firebaseapp.com',
|
|
storageBucket: 'trainerbox-ad7df.firebasestorage.app',
|
|
measurementId: 'G-6VSZRN9T67',
|
|
);
|
|
|
|
} |