Parse Anonymous User ID Not Saved on Android

I use anonymous parsed users, but the user ID is constantly changing every time the application restarts. I can create serious user-related entries and see them in the backend / application itself. Then launch the application, restart it and look at the new user in the Parse browser. Obviously, all entries are no longer displayed, because this is a "new user".

How can I remove an anonymous user id?

+4
source share
2 answers

It turns out that if you use the Parse SDK and their anonymous users, you need to check if the user is registered, and then run the anonymous initialization of the user only in this case. Otherwise, every time the application restarts, a new anonymous user is created. It makes sense, but is not in their documents.

+4
source

When you create a new user, I think you get the implied "login" of this new user.

Please note that the response to the login includes a session token (without expiration of the token).

"sharedPreferences" - Android, , , REST API, AppId REST .

SDK api, - .

0

All Articles