So, I’m following this tutorial about how to make a log in and sign up function in an Ionic 2 app using angular-jwt.
As you may know, to log in or sign up, we need a server where we can do a validation to check if the entry data are correct or not. In this case, the author use Node.js server where the server is hosted in the localhost.
This works perfectly if the app is run using ionic serve. But what if I want it to run it in an Android device using “ionic run android” command? The answer is it won’t work. The app just throw an object event error.
Anybody has a say on this? Please help!