forked from eatvio/eatvio_app
feat(env): Issue-588
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
// 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;
|
||||
import 'package:flutter/foundation.dart' show defaultTargetPlatform, kIsWeb, TargetPlatform;
|
||||
import 'package:eatvio_app/core/env_config.dart';
|
||||
|
||||
/// Default [FirebaseOptions] for use with your Firebase apps.
|
||||
///
|
||||
@@ -43,28 +43,26 @@ class DefaultFirebaseOptions {
|
||||
'you can reconfigure this by running the FlutterFire CLI again.',
|
||||
);
|
||||
default:
|
||||
throw UnsupportedError(
|
||||
'DefaultFirebaseOptions are not supported for this platform.',
|
||||
);
|
||||
throw UnsupportedError('DefaultFirebaseOptions are not supported for this platform.');
|
||||
}
|
||||
}
|
||||
|
||||
static const FirebaseOptions android = FirebaseOptions(
|
||||
apiKey: 'AIzaSyBUe1UqAAMfgMcd4hWdRoLF1Os-yn-HE9k',
|
||||
appId: '1:613980912922:android:4de95e5f2d50ba69ecc0a3',
|
||||
messagingSenderId: '613980912922',
|
||||
projectId: 'eatvio-3467b',
|
||||
databaseURL: 'https://eatvio-3467b-default-rtdb.europe-west1.firebasedatabase.app',
|
||||
storageBucket: 'eatvio-3467b.firebasestorage.app',
|
||||
static FirebaseOptions get android => FirebaseOptions(
|
||||
apiKey: EnvConfig.firebaseAndroidApiKey,
|
||||
appId: EnvConfig.firebaseAndroidAppId,
|
||||
messagingSenderId: EnvConfig.firebaseMessagingSenderId,
|
||||
projectId: EnvConfig.firebaseProjectId,
|
||||
databaseURL: EnvConfig.firebaseDatabaseUrl,
|
||||
storageBucket: EnvConfig.firebaseStorageBucket,
|
||||
);
|
||||
|
||||
static const FirebaseOptions ios = FirebaseOptions(
|
||||
apiKey: 'AIzaSyBnE8tQjL9_1HuXrTnqNy6qbXpoenO36yQ',
|
||||
appId: '1:613980912922:ios:c557d140a1212e63ecc0a3',
|
||||
messagingSenderId: '613980912922',
|
||||
projectId: 'eatvio-3467b',
|
||||
databaseURL: 'https://eatvio-3467b-default-rtdb.europe-west1.firebasedatabase.app',
|
||||
storageBucket: 'eatvio-3467b.firebasestorage.app',
|
||||
iosBundleId: 'com.eatvioapp.app',
|
||||
static FirebaseOptions get ios => FirebaseOptions(
|
||||
apiKey: EnvConfig.firebaseIosApiKey,
|
||||
appId: EnvConfig.firebaseIosAppId,
|
||||
messagingSenderId: EnvConfig.firebaseMessagingSenderId,
|
||||
projectId: EnvConfig.firebaseProjectId,
|
||||
databaseURL: EnvConfig.firebaseDatabaseUrl,
|
||||
storageBucket: EnvConfig.firebaseStorageBucket,
|
||||
iosBundleId: EnvConfig.firebaseIosBundleId,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user