Question

i'm developing app using XDK new editor and it contains a list which is update by JSON (getJSON).app working correctly with XDK Emulator.but not with real device. i want to know how to set network connection permission manually to the app.

Was it helpful?

Solution

If the API you are using supports JSONP, then use "callback=?" param (or whatever the callback name is) in the URL for $.getJSON(), then it should work on the real device.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top