Start a new topic

SDK v3 User.getActiveUser doesn't return a promise

If I understand the docs correctly getActiveUser() should return a Promise that resolves to a User


http://devcenter.kinvey.com/html5-v3.0/reference/api/class/src/core/user.js~User.html#static-method-


However I find it return an synchronous value of null or the user. This makes sense if the user is in memory


https://github.com/Kinvey/html5-sdk/blob/master/dist/kinvey-html5-sdk-3.0.0-beta.19.js#L27067-L27080



Hi Steve,

 

Can you confirm that this is resolved with the release of v3.0.0-beta.19?

 

 

Regards,

Wani

Kinvey Support

No it's not. I found it once I used beta.19 so could try getCurrentUser()

 

I joined to see how much support is found in the community.  So far, it appears there is very little in the form of solved answers for developers from Kinvey or the community?


1 person likes this

@Nes Tides Response is pretty patchy TBH

Login or Signup to post a comment