Get current VPN status
$ npm install react-native-vpn-status --save
or
$ yarn add react-native-vpn-status
and
$ cd ios && pod install
import { detectVPN } from 'react-native-vpn-status';
* Example
async function getStatusVPN() {
const isStatus = await detectVPN(); // bool
}
getStatusVPN();