vpn_detector
A Flutter package for reliable VPN detection on iOS and Android, featuring a clean, testable API and real-time status updates.
1.3.1
10K downloads/mo
#2935 most downloaded on pub.dev
aelahmar/vpn_detector
What this package is like to depend on
Last release 3 months ago
09 May 2026
Release timing varies
gaps range from 2 weeks to 1.4 years
Nearly every release is documented
notes for 7 of 7 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
7 releases · first in 2023
2 releases in the last 12 months
see the full history below
Release timeline
7 releases · Mar 2023 to May 2026
2024
2025
2026
Releases
latest 7-
1.3.109 May 2026Release notes
Open source →Fixed
- iOS: Removed an invalid
flutter_wrapperpackage reference from the SwiftPM target manifest that causedunknown package 'flutter_wrapper' in dependencies of target 'vpn_detector'build failures when SwiftPM integration was enabled. The target now declares itsSources/vpn_detectorpath explicitly, matching the first-party Flutter plugin pattern. Thanks to @AlexV525 (#12).
Release notes
Open source →Fixed
- iOS: Removed an invalid
flutter_wrapperpackage reference from the SwiftPM target manifest that causedunknown package 'flutter_wrapper' in dependencies of target 'vpn_detector'build failures when SwiftPM integration was enabled. The target now declares itsSources/vpn_detectorpath explicitly, matching the first-party Flutter plugin pattern. Thanks to @AlexV525 (#12).
- iOS: Removed an invalid
-
1.3.003 Apr 2026Release notes
Open source →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.
Release notes
Open source →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.028 Jul 2025Release notes
Open source →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.
Release notes
Open source →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.
- Changed
-
1.1.118 Jul 2025 -
1.1.016 Jul 2025Release notes
Open source →What's Changed
- Android: Updated to
compileSdk=35,minSdk=21,targetSdk=35. - iOS: Minimum deployment target set to
iOS 13.0, Swift5.
Release notes
Open source →What's Changed
- Android: Updated to
compileSdk=35,minSdk=21,targetSdk=35. - iOS: Minimum deployment target set to
iOS 13.0, Swift5.
- Android: Updated to
-
1.0.104 Mar 2024Release notes
Open source →1.0.1
What's Changed
- Enhanced documentation in the README.md
- Upgraded dependencies to the latest versions
- Add more tests for
vpn_detector_method_channel_test.dart
Full Changelog: v1.0.0...v1.0.1
Release notes
Open source →What's Changed
- Enhanced documentation in the README.md
- Upgraded dependencies to the latest versions
- Add more tests for
vpn_detector_method_channel_test.dart
-
1.0.002 Mar 2023Release notes
Open source →What's Changed
- Detect VPN active connections on Android and IOS Platforms
Release notes
Open source →What's Changed
- Detect VPN active connections on Android and IOS Platforms