Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 522 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 522 Bytes

capacitor-vpn-detector

Capacitor plugin to detect VPN connections on Android and iOS.

Install

npm install capacitor-vpn-detector
npx cap sync

API

isVpnActive()

isVpnActive() => Promise<{ value: boolean; }>

Returns: Promise<{ value: boolean; }>