mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 08:54:54 +00:00
79 lines
2.8 KiB
Dart
79 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_dev.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:
|
|
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 web = FirebaseOptions(
|
|
apiKey: 'AIzaSyDgq5ywsnFVbbQO-Xz1Z4sR5bBcuiDaS9g',
|
|
appId: '1:255001682464:web:a03e2d6214c13101561245',
|
|
messagingSenderId: '255001682464',
|
|
projectId: 'syncrow-prod-79446',
|
|
authDomain: 'syncrow-prod-79446.firebaseapp.com',
|
|
databaseURL: 'https://syncrow-staging-79446.asia-southeast1.firebasedatabase.app/',
|
|
storageBucket: 'syncrow-prod-79446.firebasestorage.app',
|
|
measurementId: 'G-1850Q89RMK',
|
|
);
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyARJ5Wx2Uf8sbmb-AHB8WVfFwEFzrCIOKY',
|
|
appId: '1:255001682464:android:55ba58e8297b3cab561245',
|
|
messagingSenderId: '255001682464',
|
|
projectId: 'syncrow-prod-79446',
|
|
databaseURL: 'https://syncrow-staging-79446.asia-southeast1.firebasedatabase.app/',
|
|
storageBucket: 'syncrow-prod-79446.firebasestorage.app',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyDeUWSHReSROpDbENGr--F49DH4VRzVM5A',
|
|
appId: '1:255001682464:ios:8a57c70f7f16f785561245',
|
|
messagingSenderId: '255001682464',
|
|
projectId: 'syncrow-prod-79446',
|
|
databaseURL: 'https://syncrow-staging-79446.asia-southeast1.firebasedatabase.app/',
|
|
storageBucket: 'syncrow-prod-79446.firebasestorage.app',
|
|
iosBundleId: 'com.syncrow.iot.ex.dev',
|
|
);
|
|
}
|