import 'package:firebase_core/firebase_core.dart' show FirebaseOptions; import 'package:flutter/foundation.dart' show defaultTargetPlatform, TargetPlatform; class DefaultFirebaseOptions { static FirebaseOptions get currentPlatform { switch (defaultTargetPlatform) { case TargetPlatform.android: return android; case TargetPlatform.iOS: return ios; default: throw UnsupportedError('Unsupported platform'); } } static const FirebaseOptions android = FirebaseOptions( apiKey: 'YOUR_ANDROID_API_KEY', appId: 'YOUR_ANDROID_APP_ID', messagingSenderId: 'YOUR_ANDROID_MESSAGING_SENDER_ID', projectId: 'YOUR_PROJECT_ID', storageBucket: 'YOUR_STORAGE_BUCKET', ); static const FirebaseOptions ios = FirebaseOptions( apiKey: 'AIzaSyCZhzNo-5oukRLhs8yZ2nI9_AX6yrWELq8', appId: '1:560733077413:ios:c1e6831284a2d5f6f1324c', messagingSenderId: '560733077413', projectId: 'bioflux-bb331', storageBucket: 'bioflux-bb331.firebasestorage.app', iosBundleId: 'com.bioFluxSmart.bioFluxSmart', ); }