nativescript-background-http
nativescript-background-http copied to clipboard
Ability to set timeout
Though that is mentioned here and the issue is closed, there is no way to add a timeout to the options (e.g. timeout:3600000
) and this is really critical. Any idea about adding this feature?
Btw, I could handle it by adding some native codes for android:
net.gotev.uploadservice.UploadService.HTTP_STACK = new net.gotev.uploadservice.http.impl.HurlStack(true, false, 60000, 60000);
But that would be really nice to support it as an option for both android and iOS.