Comments (2)
The max timeout for a XMLHttpRequest in Safari & Chrome is 60 seconds.
from cordova-plugin-ios-xhr.
Sorry, can't confirm this, longer timeouts are possible as well.
Following test:
Running cordova app on iPad, debugging in Safari on Mac.
Breaking at this line ...
... and setting timeoutInSecs to 100 manually in console.
I'm then halting the server code with server-side breakpoints.
- If I halt the server code for more than 100 seconds, then the request in the app ends with timeout.
- If I halt the server code for anything between 60 and 100 seconds, and continue this way, the request ends successfully, XHR response is received.
from cordova-plugin-ios-xhr.
Related Issues (18)
- readme error for NativeXHRLogging HOT 1
- Send correct User-Agent header HOT 16
- BUG: getWebContentResourceURL: has fixed baseURL as mainBundle resourceURL HOT 2
- BUG HOT 11
- Wrong version in plugin.xml HOT 1
- Complete Installation Guide
- Not allowed to load local resource HOT 1
- BUG plugin is not installable by 'cordova plugin add' command even with git url HOT 1
- Issue with post ajax request and request at startup HOT 1
- Does this plugin still work with iOS platform 6.2.0?
- Not loading local files HOT 4
- 'cordova-plugin-ios-xhr' is not in the npm registry HOT 8
- BUG- AWS sdk not work with this plugin HOT 1
- BUG plugin leaves junk in package.json after uninstall HOT 2
- Is there an url length limit? HOT 6
- Plugin doesnt work on iOS 14
- AllowUntrustredCerts no impact on iOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-ios-xhr.