🌐 Makes Internet connectivity detection more robust by detecting Wi-Fi networks without Internet access.
connectivityURLs
property back as this was a breaking change see issue #78.Connectivity
property connectivityURLs: [URL]
swapped to connectivityURLRequests: [URLRequest]
. The framework now uses URLRequest
primarily throughout. Suggestion by @brunomiguens - https://github.com/rwbutler/Connectivity/issues/67.URLRequest
objects used for connectivity checks may not be configured via configuration initialiser or via the fluent configuration API e.g.
URL
objects may still be used rather than URLRequesd
objects via the fluent configuration API only e.g.
.network
. To continue using the System Configuration (Apple's Reachability) framework for monitoring network interface changes set the framework
property to .systemConfiguration
.ConnectivityConfiguration
. validationMode
was incorrectly spelt as validatioMode
.bearerToken
, framework
and validationMode
using the configuration object (thanks to Nils Bergmann - see https://github.com/rwbutler/Connectivity/pull/73).Applied Carthage fix - see: https://github.com/rwbutler/Connectivity/pull/66 and https://github.com/rwbutler/Connectivity/issues/65.
Connectivity 5.3.0 provides a new fluent interface for configuring the Connectivity framework. See Configuration for more information.
This allows you to configure the framework when making use of Combine publishers e.g.
let publisher = Connectivity.Publisher(
configuration:
.init()
.configureURLSession(.default)
)