Ever since we upgraded our standalone app to SDK 33 I’m getting lots of Sentry notified errors like this:
“permission_denied at /users/501093aa-ddf4-4e96-8c58-4ed5cf6acad3/values: Client doesn’t have permission to access the desired data.”
This is evidently happening at this part of the code
var userId = Constants.deviceId;
firebase
.database()
.ref("users/" + userId + "/values/")
.update({
items: this.state.items,
done: this.state.done
});
Now, I know the userid exists since I can find it in the database. I thought it was the rules, but they are the same as before before SDK 33
".read": "auth !== null",
".write": "auth !== null"
Does anybody have any idea what might be going on here? Thanks