'suddenly my app can't fetch data from friestore on my flutter project
suddenly i cant fetch data inside of the firestore database. tried to change google-services.json
and still did't fetch data from firestore. and i tried to disconnect from my firebase project that look like this.
did this already and reconnect the app, welp still didnt help at all. they keep saying
W/Firestore(16571): (24.1.1) [Firestore]: Listen for Query(target=Query(products order by __name__);limitType=LIMIT_TO_FIRST) failed: Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., cause=null}
E/flutter (16571): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: [cloud_firestore/permission-denied] The caller does not have permission to execute the specified operation.
is there's anything that can help?. oh and i tried to change the rules too into this
service cloud.firestore { match /databases/{database}/documents {
match /{document=**} {
allow read: if auth != null;
allow write: if auth != null;
}
}
}
this si how i use the ./gradlew signinReport
and i already update the newest SHA-1 and SHA-256 in my firebase project setting that look like that in the top one
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|