Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
10 Views

Services not working on device?

I have two apps where I use web services, the Food Essentials demo and one I'm working on for freelancer.com.

In both cases the services are working fine in the emulator and downloading the service data, but when built and installed on my Android phone the services are not working.

The Food Essential app says that the API key is invalid when run on the device, but the key works fine in the emulator. I think this error is because there is no response from the service.

The freelancer.com app has no authorization and just stalls when the page with the service data is loaded.

Any ideas???

Tags (2)
0 Kudos
2 Replies
Highlighted
10 Views

You probably need to setup the whitelist in the Build Settings section of the Projects tab, please see the docs > https://software.intel.com/en-us/xdk/docs/using-cordova-whitelist-rules-with-intel-xdk

0 Kudos
Highlighted
Beginner
10 Views

Thank you, I hadn't seen that, I will give it a try.

0 Kudos