Releases: rwbutler/Connectivity
Releases · rwbutler/Connectivity
Connectivity 5.0.0
Added
- Support for Xcode 12.
Changed
- Dropped support for iOS 8
Connectivity 4.2.0
Added
- Support for macOS.
Changed
- Fixes Swift Package Manager integration.
Connectivity 4.1.0
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 tointernalQueue
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 usesNWPathMonitor
as a fallback on iOS 12+ even where.systemConfiguration
is the selected option.
Connectivity 2.0.0
Provides the ability to switch between Reachability and the Network framework (on iOS 12+) using the new framework property on the Connectivity object.
Connectivity 1.1.1
Refactored code into smaller reusable functions to eliminate code duplication and improve maintainability.
Connectivity 1.1.0
Added
- Allows the polling interval to be configured.
- Exposes the
ConnectivityDidChange
notification name as part of the public interface.
Changed
- Enforces SSL by default.
Connectivity 1.0.0
Updated for Xcode 10 and Swift 4.2.
Connectivity 0.0.4
Fixed an issue whereby the callback could be invoked more frequently than necessary if using the polling option.
Connectivity 0.0.3
Adds a sample application to demonstrate how to use Connectivity. Additionally contains improvements to code structure and an early exit mechanism such that once the required number of successful connectivity checks has been met any pending checks will be cancelled as they will no longer affect the result.