I'm going to ask a few related questions here.
First, how long does it take for a webrequest to timeout?
Second, does anyone else have webrequests where the callback isn't called? When I have a connection issue, my callback sometimes fires with a timeout error, but it seems that more often than not, the callback just isn't ever called.
I've tested this with a couple of different Android phones, each connected to my Vivoactive 3 music. It happens whether I make the webrequest in the foreground or in the background. When it happens in the foreground, it doesn't bother me so much because my users can easily see that there is an issue and respond accordingly. However, when I run webrequests in the background, I would like to request to launch my app if there's an error. As it is, I cannot make the wake request when my webrequest is never complete.
Finally, if this is a common issue that isn't likely to be fixed soon, does anyone know of a reliable way to detect webrequest errors in the background (since it's in the background, I can't just set my own timeout). I can use Background.exit() to check for errors when the app launches, but I'd rather deal with errors as soon as they occur if possible.
Thanks!