Layer7 API Management

Expand all | Collapse all

Request timeout configuration in Cordova SDK

  • 1.  Request timeout configuration in Cordova SDK

    Posted 05-15-2018 06:12 AM

    Hello,

     

    Requests fired by Cordova do not timeout when the mobile device network reception (cellular or WiFi) is poor.

    It is possible to control timeouts on the Gateway but when the request does not hit it, it does not timeout on the device.

     

    Is there a way to control request timeouts in the Cordova SDK?

     

    Thanks,

    Kobi.



  • 2.  Re: Request timeout configuration in Cordova SDK

    Posted 12-17-2018 09:47 PM

    Hi,

     The Cordova SDK does not handles the networking during the API calls. The Networking is controlled by the Native Android/iOS SDKs. So the support for ReadTimeOut and ConnectTimeout have to be done there. Presently this support is not there.