mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
79 lines
2.7 KiB
Dart
79 lines
2.7 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 DefaultFirebaseOptionsStaging {
|
|
static FirebaseOptions get currentPlatform {
|
|
if (kIsWeb) {
|
|
return web;
|
|
}
|
|
switch (defaultTargetPlatform) {
|
|
case TargetPlatform.android:
|
|
return android;
|
|
case TargetPlatform.iOS:
|
|
return ios;
|
|
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:
|
|
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 android = FirebaseOptions(
|
|
apiKey: 'AIzaSyDP9GpYfLE8gHTj3kZ1hW8fx_FkJqOqSQk',
|
|
appId: '1:786692570726:android:0ef7079c2b978d4417b7a7',
|
|
messagingSenderId: '786692570726',
|
|
projectId: 'syncrow-staging',
|
|
databaseURL: 'https://syncrow-staging-default-rtdb.firebaseio.com',
|
|
storageBucket: 'syncrow-staging.appspot.com',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyAWlRiuJ75FMlf2_UDdri1voWKvkaSHtRg',
|
|
appId: '1:786692570726:ios:455a6fcff77e130f17b7a7',
|
|
messagingSenderId: '786692570726',
|
|
projectId: 'syncrow-staging',
|
|
databaseURL: 'https://syncrow-staging-default-rtdb.firebaseio.com',
|
|
storageBucket: 'syncrow-staging.appspot.com',
|
|
iosBundleId: 'com.example.syncrow.app',
|
|
);
|
|
|
|
static const FirebaseOptions web = FirebaseOptions(
|
|
apiKey: 'AIzaSyDyGaQ3sZhb4meaY6sGke-YglhdhJ2is8Q',
|
|
appId: '1:786692570726:web:93c931e6701797b317b7a7',
|
|
messagingSenderId: '786692570726',
|
|
projectId: 'syncrow-staging',
|
|
authDomain: 'syncrow-staging.firebaseapp.com',
|
|
databaseURL: 'https://syncrow-staging-default-rtdb.firebaseio.com',
|
|
storageBucket: 'syncrow-staging.appspot.com',
|
|
measurementId: 'G-CZ3J3G6LMQ',
|
|
);
|
|
}
|