Reputation: 6536
I have written a phonegap application, and it performs a pretty simple task, it gets some JSON from a YQL link, and then displays it nicely to the user. This works excellently when I run it using Google Chrome on a Desktop, but, my client tells me that it does not work on his device which is Android 2.3. What can be going wrong? I'm using phonegap build to build to app, and they tell me that it is given internet permission, but, when my client puts the APK on the phone (its not on the market yet), does he need to do something special for it to access the internet?
Thanks a lot,
Dhaivat
Upvotes: 0
Views: 1591
Reputation: 73
I'm not sure if this will help but I had a similar problem testing my app here:
I needed to change access origin to ="*"/ in my config.xml
Upvotes: 0
Reputation: 11
in phonegap, allow external host : Open phonegap.plist -> external host and add your url or * to allow all
Upvotes: 1
Reputation: 91
within the phonegap app the webapp runs under the file:// protocol - this might affect things.
you should test this at least on an emulator yourself - clients usually screw up anything some might screw up when testing ;) best would be to test on an actual device tho.
Upvotes: 0