first commit
This commit is contained in:
22
lib/helper/firebase_options.dart
Normal file
22
lib/helper/firebase_options.dart
Normal file
@@ -0,0 +1,22 @@
|
||||
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.',
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user