I've been searching for a lot of problems that relate to this but I still didn't find the solution the error says
Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (greylist,core-platform-api, linking, allowed)
[WriteStream]: (26986c6) Stream closed with status: Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., cause=null}.
[Firestore]: Write failed at users/rX5LRztKddW1c8RIBqyNShligJV2: Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., cause=null}
[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.
and I've tried to change the firebase firestore rules in my console to be like this
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth != null;
}
}
}
and after that still didn't affect anything. Usually I still can fetch data into a list and show in a gridview without having a user login. but now even when I log the user in it still didn't give me any of the data. been checking my dart code too and didn't find anything suspicious. tried to uninstall and install it back. nope, didnt works too.