vpn_detector 1.2.0
vpn_detector: ^1.2.0 copied to clipboard
A Flutter package for reliable VPN detection on iOS and Android, featuring a clean, testable API and real-time status updates.
1.2.0 #
Breaking Changes #
- Changed
VpnDetector.isVpnActive()
return type fromFuture<bool>
toFuture<VpnStatus>
, introducing theVpnStatus
enum.
Added #
- Introduced
VpnStatus
enum with valuesactive
andnotActive
. - Added
onVpnStatusChanged
stream for real-time VPN status updates. - Added
VpnDetector.withDependencies(...)
constructor (annotated@visibleForTesting
) for dependency injection and TDD.
1.1.0 #
What's Changed #
- Android: Updated to
compileSdk=35
,minSdk=21
,targetSdk=35
. - iOS: Minimum deployment target set to
iOS 13.0
, Swift5
.