Start a new topic

Kinvey Login & Signup Error

Hi! I implemented the same Login app in the following link (https://www.nativescript.org/blog/building-an-awesome-login-screen-with-nativescript) in my laptop by giving my App Key & App Secret. After running the application in android, the application is successfully synced into my android mobile device & displaying the Login page without any errors. But when I try to signup (register a new user) the app is giving following error in the console.

 "java.net.UnknownHostException: Unable to resolve that "baas.kinvey.com" : No address associated with hostname".

I kindly requesting your help to solve this issue.


Hi Ranga,


Since you are using 'Kinvey NativeScript SDK', please check this link for information on Signup method. Are you able to test Login method withou any issues or you are seeing the same issue for Login also? You can register a new user directly on Kinvey console-> "Users" collection-> Add User. Use this user to Login on your app and let me know what you see.


Have you tried executing your app on any simulators? or any other devices like iPhone? Are you seeing the same issue there also? Also, you can take a look at our sample apps on this link.


Looking forward to hearing back from you.


Thanks,

Pranav

Kinvey


Hi Pranav,


I already tried the Groceries app. It also gives the same error. I'll try above methods & contact you again.


Thanks,

Ranga

Hi Pranav,


Login is also giving the same error.

I created a user in "Users" under the Identity tab & tried to Login.

Is it right or do I have to create a collection named "Users" in "Collections" under the Data tab & insert a user in there?


Thanks,

Ranga

Hi Pranav,


Signup method that you already provided is also giving the same error.


Thanks,

Ranga

Hi Ranga,


Thanks for providing this information. You have tested in Users collection correctly. Have you tried executing your app on any simulators? or any other devices like iPhone? Are you seeing the same issue there also? I have asked our NativeScript guy to check this.


Thanks,

Pranav

Hi Pranav,


No. I didn't try it on any simulator or an iPhone. I will try those solutions. But we are mainly focusing on running this app on android. So if you can give a solution to run this app on android, we appreciate that very much.


Thanks,

Ranga

Login or Signup to post a comment