vpn_detector 1.3.0
vpn_detector: ^1.3.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.3.0 #
Added #
- Added Swift Package Manager (SwiftPM) support for iOS.
Changed #
- Migrated iOS source files to SwiftPM-compatible directory layout.
- Removed Objective-C bridge layer; plugin now registers directly via Swift.
- Widened
connectivity_plusdependency to>=6.1.4 <8.0.0to support v7.x. - Updated minimum Flutter SDK to 3.24.0.
- Updated minimum Dart SDK to 3.0.0.
- Synced podspec version to 1.3.0.
1.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.
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.