80 lines
2.8 KiB
Dart
80 lines
2.8 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:
|
|
throw UnsupportedError(
|
|
'DefaultFirebaseOptions have not been configured for ios - '
|
|
'you can reconfigure this by running the FlutterFire CLI again.',
|
|
);
|
|
case TargetPlatform.macOS:
|
|
throw UnsupportedError(
|
|
'DefaultFirebaseOptions have not been configured for macos - '
|
|
'you can reconfigure this by running the FlutterFire CLI again.',
|
|
);
|
|
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: 'AIzaSyANiVsJP6_-x7EWlCyFs3wzRHiHVE92gZg',
|
|
appId: '1:805382350445:web:47048b4d0b6eff03684164',
|
|
messagingSenderId: '805382350445',
|
|
projectId: 'tempe-56d26',
|
|
authDomain: 'tempe-56d26.firebaseapp.com',
|
|
databaseURL: 'https://tempe-56d26-default-rtdb.firebaseio.com/',
|
|
storageBucket: 'tempe-56d26.firebasestorage.app',
|
|
measurementId: 'G-Y7PW7083PS',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyBib-Hn0Rf4DQNoKG31m7Zxh4uHllAhruI',
|
|
appId: '1:805382350445:android:a503bb9f56e760e3684164',
|
|
messagingSenderId: '805382350445',
|
|
projectId: 'tempe-56d26',
|
|
databaseURL: 'https://tempe-56d26-default-rtdb.firebaseio.com',
|
|
storageBucket: 'tempe-56d26.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions windows = FirebaseOptions(
|
|
apiKey: 'AIzaSyANiVsJP6_-x7EWlCyFs3wzRHiHVE92gZg',
|
|
appId: '1:805382350445:web:ab897988755838d6684164',
|
|
messagingSenderId: '805382350445',
|
|
projectId: 'tempe-56d26',
|
|
authDomain: 'tempe-56d26.firebaseapp.com',
|
|
databaseURL: 'https://tempe-56d26-default-rtdb.firebaseio.com',
|
|
storageBucket: 'tempe-56d26.firebasestorage.app',
|
|
measurementId: 'G-Y9RBST336L',
|
|
);
|
|
|
|
} |