To check for connectivity we should either:
- Set
waitsForConnectivity = trueand then monitortaskIsWaitingForConnectivity, or - Set
waitsForConnectivity = falseand then fail immediately
However background sessions always wait for connectivity AND never call taskIsWaitingForConnectivity.
Huh?
In our case, at the time user is initiating downloads the "background" session is actually in the foreground and we need this information. What am I missing?