![]() Rebuild your Flutter application: flutter run Options: DefaultFirebaseOptions.currentPlatform, In your lib/main.dart file, import the Firebase core plugin and theĬonfiguration file you generated earlier: import 'package:firebase_core/firebase_core.dart' Īlso in your lib/main.dart file, initialize Firebase using theĭefaultFirebaseOptions object exported by the configuration file: await Firebase.initializeApp( That your Flutter app's Firebase configuration is up-to-date: flutterfire configure The core plugin: flutter pub add firebase_coreįrom your Flutter project directory, run the following command to ensure Re-running the command ensures that your Flutter app's FirebaseĬonfiguration is up-to-date and (for Android) automatically adds anyįrom your Flutter project directory, run the following command to install Performance Monitoring, or Realtime Database. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |