简体   繁体   中英

XMLHttpRequest Exception 101 in hybrid mobile application

I have a hybrid mobile application which works on both android and ios devices.

The problem with it is that the application works fine when run on Android. However, there is a Network Error: XMLHttp Request Exception 101 : saying server is unresponsive while running the application in iOS.

The application uses Cordova 2.9

I have been trying out solutions like setting async to true(initially it was false). But it does not solve my issue.

Can you please tell me the reason and the solution to be provided.

Thanks.

Make sure that you are using JSONP data format in IOS. This same as Json, but a callback function is needed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM