skip to Main Content

Error reading Firestore data from flutter

getData() async{ var result = await FirebaseFirestore.instance.collection('users').doc('documentId').get(); print(result['']); } @override void initState() { getData(); super.initState(); } In, if the value in result[''] is aa or 1aa, the data can be read, but if it is 1.aa, it cannot be read.…

VIEW QUESTION

React native app BUILD FAILED after installing @react-native-firebase/app

app BUILD FAILED after i install @react-native-firebase/app package.json "@react-native-firebase/app": "^18.0.0", "react-native": "0.70.0", this is my build.gradle implementation project(':react-native-pusher-push-notifications') implementation 'com.pusher:push-notifications-android:1.9.0' implementation ("com.google.firebase:firebase-iid:21.1.0") implementation ("com.google.firebase:firebase-messaging:23.0.0") implementation 'androidx.multidex:multidex:2.0.1' // <-- ADD THIS DEPENDENCY * What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'.…

VIEW QUESTION
Back To Top
Search