-
-
Notifications
You must be signed in to change notification settings - Fork 206
NoSuchMethodError: Class 'ParseObject' has no instance method '[]'. #114
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
Comments
If I'm correct, we don't have a SessionToken until speaking to the API? The logic would be something like
This would give you a registered user with a sessionToken |
This my userJson: Im doing "loginWith" google So the error is obvious:
|
Which version of the SDK is this for?
This was a big about 2/3 releases ago. We then added some logic that would
save the full user object and not a pointer object.
…On Tue, 12 Mar 2019 at 13:34, Pablo ***@***.***> wrote:
This my userJson:
{\"__type\":\"Pointer\",\"className\":\"_User\",\"objectId\":\"6uQJiVDr9t\"}
Im doing "loginWith" google
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHgn3lRNhOvlN0F22txBfNgmPv7lXRF0ks5vV6z7gaJpZM4bqxmP>
.
--
Kind Regards
Phill Wiggins
[email protected]
|
Could be that loginWith is storing the pointer instead the full object? |
Yes correct, that was the case a few versions ago.
What version are you using now?
…On Tue, 12 Mar 2019 at 13:43, Pablo ***@***.***> wrote:
Could be that loginWith is storing the pointer instead the full object?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHgn3gyrVsGM-s8zKhD-MOfNSFxAaYo2ks5vV68IgaJpZM4bqxmP>
.
--
Kind Regards
Phill Wiggins
[email protected]
|
Im using the latest and 1.0.15. |
And have you tried deleting and reinstalling your app?
Essentially the data is stored in shared_preferences... Clearing data
should also work. As far as I am aware, this is working in 1.0.15.
…On Tue, 12 Mar 2019 at 13:54, Pablo ***@***.***> wrote:
Im using the latest and 1.0.15.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHgn3gf5Nd-Gt602mIrnTbGZWf9ZGPsYks5vV7F8gaJpZM4bqxmP>
.
--
Kind Regards
Phill Wiggins
[email protected]
|
Im going to close this issue, probably was a problem with my cache of the dependencies, now Its running ok (1.0.15) |
I have a problem checking if there are a current user.
Steps to reproduce:
1º Sign in a user
2º Close the app
3º Check for user = error
parse_user.dart:377:45)
Any idea?
The text was updated successfully, but these errors were encountered: