How can I create a VPN connection (PPTP or anything else) with react-native in android and then connect to it?
You can use react-native-ip-sec-vpn now!
Use it like as follow:
import {prepare, connect} from "react-native-ip-sec-vpn"; ... useEffect(() => { prepare(); }); /// or use componentDidmount in case of a class component ... connect(address, username, password)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With