Hi,
I have an app that is using ionic framework and access data via Parse.com. The app is written in Javascript and use cordova to deploy to device. When running the app on my android device through USB, the app works fine and data are coming back from Parse.com.
The app is initialized with
Parse.initalize(appId, javascriptKey)
However, when the app is run with usb cable disconnected, no data comes back.
I’ve tried initializing with clientId such as Parse.initialize(appId, clientId)
But that didn’t work either.
When debugging with Chrome via usb, it throws an error
Failed to load resource: the server responded with a status of 401 (Unauthorized)
What am I doing wrong?
Thanks,