Hi,
I’m using the js sdk and my scenario is login page -> redirects to main page.
In the main page I’m trying to get the current user and get undefined or null depending on the method I use.
Backendless.UserService.getCurrentUser(); or
Backendless.LocalCache.get(“current-user”). I use persistent login. I currently work with localhost and bower when developing.
Can you please advice?