Hey… I’m testing some things on the javascript sdk, and noticed that passing “stayLoggedIn” to the login method stores data in the
Backendless.LocalCache.get(“user-token”)
not
Backendless.Cache.get(“user-token”)
as suggested in the docs… (https://backendless.com/documentation/users/js/), and as a side note, it’d be nice if the docs weren’t in an iframe, and had links by title/id, so it’d be easy to link to docs in things like this…
hey… thanks for the feedback… One more thing - if I have a user login using “stayLoggedIn”, the next time I refresh the page, the user token is returned using
Backendless.LocalCache.get(“user-token”)
but
Backendless.UserService.getCurrentUser();
returns null.
Shouldnt this return the a User object instance like it did if I just logged in?