Software Archive
Read-only legacy content
17061 Discussions

Services not working on device?

Geoff_at_CFM
Beginner
264 Views

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???

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
264 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
Geoff_at_CFM
Beginner
264 Views

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

0 Kudos
Reply