vpn_detector 1.3.0 copy "vpn_detector: ^1.3.0" to clipboard
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_plus dependency to >=6.1.4 <8.0.0 to 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 from Future<bool> to Future<VpnStatus>, introducing the VpnStatus enum.

Added #

  • Introduced VpnStatus enum with values active and notActive.
  • Added onVpnStatusChanged stream for real-time VPN status updates.
  • Added VpnDetector.withDependencies(...) constructor (annotated @visibleForTesting) for dependency injection and TDD.

1.1.1 #

What's Changed #

  • Documentation dart api

1.1.0 #

What's Changed #

  • Android: Updated to compileSdk=35, minSdk=21, targetSdk=35.
  • iOS: Minimum deployment target set to iOS 13.0, Swift 5.

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

1.0.0 #

What's Changed #

  • Detect VPN active connections on Android and IOS Platforms
13
likes
160
points
6.98k
downloads

Documentation

API reference

Publisher

verified publisheraelahmar.com

Weekly Downloads

A Flutter package for reliable VPN detection on iOS and Android, featuring a clean, testable API and real-time status updates.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

connectivity_plus, flutter, meta, plugin_platform_interface

More

Packages that depend on vpn_detector

Packages that implement vpn_detector