Page 1 of 1

why there is no cross-domain issue when app is run on device.

Posted: Fri Dec 25, 2015 7:05 pm
by Dongzhi Yang7528784

Hi Team,

Just to understand things correctly.

When an app is running on a device, the URL is actually the local URL. starting with "file:////" something.
So when the app call a service on appery.io's back end, why there is no cross domain issue?

Moreover, If there is no cross domain issue fro appery.io domain, why would there be cross domain issue for other domains?

Regards

Don


why there is no cross-domain issue when app is run on device.

Posted: Sat Dec 26, 2015 12:15 am
by Illya Stepanov

Hi Don -

Hope this links will help you with specifics in PhoneGap apps:
http://stackoverflow.com/questions/21...
http://demos.jquerymobile.com/1.3.2/f...


why there is no cross-domain issue when app is run on device.

Posted: Sat Dec 26, 2015 8:04 am
by Dongzhi Yang7528784

Hi IIIya,

Thanks, that helps. so just to recap, with phoneGap, there is actually no cross domain issue. right?

Regards

Don


why there is no cross-domain issue when app is run on device.

Posted: Sun Dec 27, 2015 2:35 am
by Illya Stepanov

Yes, right.


why there is no cross-domain issue when app is run on device.

Posted: Sun Dec 27, 2015 3:00 am
by Dongzhi Yang7528784

Thanks!