Добавить
Уведомления

How to create Cloud Firestore Android App

The source code can be found at: https://github.com/Yusnaidi/flutter-app/tree/main/flutter_counter_firebase This program demonstrate how to create a cloud firestore database and access the content of the database from witihin Android app using Flutter. The program has been tested to work with these configurations: Android Studio ver Arctic Fox/2020.3.1, Flutter SDK ver 2.8.0, Windows 10 64-bit, and Cloud Firestore ver 3.1.5. The program also has been tested to run on Android emulator, but can also run on iOS and web browser (Chrome or Edge) with certain configuration. Steps to complete the task: Step 1: Create Flutter project. Step 2: Launch an emulator. Step 3: Create Firebase project in Firebase. Step 4: Create Cloud Firestore database. Step 5: In app\build.gradle, update minSdkVersion to 19, and targetSDKVersion to 30, and add 'multiDexEnabled true'. Step 6: Add cloud firestore to our Android project. Issue command: 'flutter pub add cloud_firestore' and 'flutter pub get'. Step 7: Verify that 'cloud_firestore: ^3.1.5' had been added on the dependencies section of the pubspec.yaml file. Step 8: Start adding firestore call in the main.dart. Hope this helps. If you like this video, please like and subscribe. Thanks for watching.

12+
15 просмотров
год назад
12+
15 просмотров
год назад

The source code can be found at: https://github.com/Yusnaidi/flutter-app/tree/main/flutter_counter_firebase This program demonstrate how to create a cloud firestore database and access the content of the database from witihin Android app using Flutter. The program has been tested to work with these configurations: Android Studio ver Arctic Fox/2020.3.1, Flutter SDK ver 2.8.0, Windows 10 64-bit, and Cloud Firestore ver 3.1.5. The program also has been tested to run on Android emulator, but can also run on iOS and web browser (Chrome or Edge) with certain configuration. Steps to complete the task: Step 1: Create Flutter project. Step 2: Launch an emulator. Step 3: Create Firebase project in Firebase. Step 4: Create Cloud Firestore database. Step 5: In app\build.gradle, update minSdkVersion to 19, and targetSDKVersion to 30, and add 'multiDexEnabled true'. Step 6: Add cloud firestore to our Android project. Issue command: 'flutter pub add cloud_firestore' and 'flutter pub get'. Step 7: Verify that 'cloud_firestore: ^3.1.5' had been added on the dependencies section of the pubspec.yaml file. Step 8: Start adding firestore call in the main.dart. Hope this helps. If you like this video, please like and subscribe. Thanks for watching.

, чтобы оставлять комментарии