23 lines
732 B
Dart
23 lines
732 B
Dart
import 'package:firebase_core/firebase_core.dart';
|
|
import 'package:flutter/foundation.dart';
|
|
|
|
class DefaultFirebaseOptions {
|
|
static FirebaseOptions get currentPlatform {
|
|
if (defaultTargetPlatform == TargetPlatform.iOS ||
|
|
defaultTargetPlatform == TargetPlatform.macOS) {
|
|
return const FirebaseOptions(
|
|
apiKey: 'AIzaSyBkzz2Yua74Q9YpzGmUPFP94fmJQqNMIiU',
|
|
appId: '1:140444764229:ios:d66c3707aaf5c1ed283b2c',
|
|
messagingSenderId: '140444764229',
|
|
projectId: 'nearle-gear',
|
|
storageBucket: 'nearle-gear.appspot.com',
|
|
iosBundleId: 'com.nearle.gear',
|
|
);
|
|
}
|
|
|
|
throw UnsupportedError(
|
|
'DefaultFirebaseOptions are not supported for this platform.',
|
|
);
|
|
}
|
|
}
|