Start a new topic

Username Existence Check on Android

Hello!

Could you guide how can I check user existense without login on Android? I looked for solution in documentation but find this functionality only for iOS http://devcenter.kinvey.com/ios/guides/users#userexists



Thanks

Unfortunately we don't yet have support in the Android library for this as we do in the iOS library, but as a workaround you can use a custom endpoint to hit the REST API endpoint. See http://devcenter.kinvey.com/rest/guides/users#userexists
One solution would be to have an implicitKinveyClient created: implicitKinveyClient = new Client.Builder(appKey, appSecret, this.getApplicationContext()).build();

After that with this client you can make a user discovery with a user lookup criteria set for username.

link for User Discovery: http://devcenter.kinvey.com/android/guides/users#lookup
Login or Signup to post a comment