react-native-vpn-status
v0.1.4
Published
Get current VPN status
Downloads
2,739
Readme
react-native-vpn-status
Get current VPN status
Getting started
$ npm install react-native-vpn-status --save
or
$ yarn add react-native-vpn-status
and
$ cd ios && pod install
Usage
import { detectVPN } from 'react-native-vpn-status';
* Example
async function getStatusVPN() {
const isStatus = await detectVPN(); // bool
}
getStatusVPN();