Connectivity v4.1.0 Release Notes

Release Date: 2020-07-07 // almost 4 years ago
  • โž• Added

    • โž• Added checkWhenApplicationDidBecomeActive flag which when enabled will check connectivity status when an app returns from the background.
    • โž• Added pollWhileOfflineOnly flag which ensures that Connectivity only polls after recording an unsuccessful connection result. Following a successful result polling will cease.

    ๐Ÿ”„ Changed

    • The entirety of the logic that was previously in checkConnectivity is now offloaded to internalQueue immediately.
    • Where polling, it was possible for a successful connection check to not be able to report the network interface used (as Reachability returned NotReachable) where using the .systemConfiguration framework option. In this instance, Connectivity now uses NWPathMonitor as a fallback on iOS 12+ even where .systemConfiguration is the selected option.