Skip to content

Fixed ignored forceUpdate and dirty ParseObject when deserialized from json #253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from

Conversation

hyperrecursive
Copy link
Contributor

Also fixes #251

phillwiggins and others added 12 commits June 23, 2019 16:40
2. Fix unsavedChanges issue in ParseUser login and signUp method.
3. Delete useless and reduplicative decode in ParseUser. Because this is already done in handleResponse method. This also cause wrong unsaved changes.
* Updated dependencies.

* ParseUser._handleResponse was calling saveInStorage() async without an await, which caused 'invalid session token' error if user ParseUser.currentUser() immediately after ParseUser.signUp() or ParseUser.login().
Added missing awaits in other places.

* ParseUser was not updated in storage after a successful save() operation.
Reason: no safeInStorage() after save() was called.
Fix: calling saveInStorage() after save().

* Revert "Updated dependencies."

This reverts commit dbbc5e8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants