v1.2.0
Breaking Changes
- Changed
VpnDetector.isVpnActive()return type fromFuture<bool>toFuture<VpnStatus>, introducing theVpnStatusenum.
Added
- Introduced
VpnStatusenum with valuesactiveandnotActive. - Added
onVpnStatusChangedstream for real-time VPN status updates. - Added
VpnDetector.withDependencies(...)constructor (annotated@visibleForTesting) for dependency injection and TDD.