-
-
Notifications
You must be signed in to change notification settings - Fork 213
Closed
Description
I think this a strange behaviour in ParseUser
ParseUser currentUser = await ParseUser.currentUser();
currentUser.set("turnOnNotifications", newValue);
var response = await currentUser.update();
if (response.success) {
ParseUser currentUser = await ParseUser.currentUser();
currentUser.get("turnOnNotifications");
return;
}
Here when I change the value of current user and update it. It successfully updates the value to the sever and the response also gives the updated value
But when I access it again, it is still unchanged, I think the update only happens on the server and not locally.
This is quite frustrating as it causes a lot of bugs and does not help in the program flow.
Metadata
Metadata
Assignees
Labels
No labels