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



@Nes Tides Response is pretty patchy TBH

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
No it's not. I found it once I used beta.19 so could try getCurrentUser()

 

Hi Steve,

 

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

 

 

Regards,

Wani

Kinvey Support

Login or Signup to post a comment