50 lines
1.7 KiB
Dart
50 lines
1.7 KiB
Dart
// File generated for build without `flutterfire configure`.
|
|
// Replace with `dart pub global run flutterfire_cli:flutterfire configure` for production.
|
|
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
|
|
import 'package:flutter/foundation.dart' show defaultTargetPlatform, kIsWeb, TargetPlatform;
|
|
|
|
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;
|
|
default:
|
|
return android;
|
|
}
|
|
}
|
|
|
|
static const FirebaseOptions android = FirebaseOptions(
|
|
apiKey: 'AIzaSyPlaceholderReplaceViaFlutterfireConfigure',
|
|
appId: '1:000000000000:android:0000000000000000000000',
|
|
messagingSenderId: '000000000000',
|
|
projectId: 'iykyka-placeholder',
|
|
storageBucket: 'iykyka-placeholder.appspot.com',
|
|
);
|
|
|
|
static const FirebaseOptions ios = FirebaseOptions(
|
|
apiKey: 'AIzaSyPlaceholderReplaceViaFlutterfireConfigure',
|
|
appId: '1:000000000000:ios:0000000000000000000000',
|
|
messagingSenderId: '000000000000',
|
|
projectId: 'iykyka-placeholder',
|
|
storageBucket: 'iykyka-placeholder.appspot.com',
|
|
iosBundleId: 'com.example.msnMobile',
|
|
);
|
|
|
|
static const FirebaseOptions macos = ios;
|
|
|
|
static const FirebaseOptions web = FirebaseOptions(
|
|
apiKey: 'AIzaSyPlaceholderReplaceViaFlutterfireConfigure',
|
|
appId: '1:000000000000:web:0000000000000000000000',
|
|
messagingSenderId: '000000000000',
|
|
projectId: 'iykyka-placeholder',
|
|
storageBucket: 'iykyka-placeholder.appspot.com',
|
|
);
|
|
}
|