Only Backendless.User accepted backendless.min.js:45
The situtationis is as follows:
the user logins and then updates his profile with this code:
it works perfect.
if the user exits and initiates the app again (the stayloggedin parameter is set to true) this code is executed
and then tries to update his profile with the code mentioned at the beggining, the following eror shows up:
Only Backendless.User accepted (at backendless.min.js:45)
i've printed the user object in the first case and second case. They only differ in the property user-token, which the first one doesn't have. I've tried deleting the property with
Both users (the one before reload and afterwards) are the same. But i still get the same error.
Finally i have tried also asynchronous:
it does not work either.
I suspect it has something to to with the Backendless.UserService.getCurrentUser() after the call to Backendless.initApp