skip to Main Content

Flutter – How to get a list of documents from Cloud Firestore using dart cloud_firestore package

I made a function to read a the data from a specific document and it works(code below) Future<List<String>> getAllServicesFromDatabase()async{ List<String> services = []; FirebaseFirestore db = FirebaseFirestore.instance; DocumentSnapshot<Map<String, dynamic>> results = await db.collection(dbCollection).doc(servicesDocument).get(); if(results.data() != null){ Map<String,dynamic> fetchedData = results.data()!;…

VIEW QUESTION

Firebase AppCheck Error 403: App attestation failed

I have added appcheck to my Flutter app. However, this does not work properly. I use Android and have entered all the keys correctly. However, every time I start the app, the following messages appear: IntegrityService : requestIntegrityToken(IntegrityTokenRequest{nonce=<<long code>>, cloudProjectNumber=<<project…

VIEW QUESTION
Back To Top
Search