Trying to connect showing null
mikias21 opened this issue · comments
Hi there,
I'm trying to create a simple vpn client using expo, I tried my best to follow the instructions and run the example first but I'm getting TypeError: Cannot read property 'connect' of null when i press the connect button. Can someone please tell me which part I'm doing wrong.
Steps I followed:
- npx expo prebuild --clean
- update the settings.gradle file to include
include ':vpnLib'
project(':vpnLib').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-simple-openvpn/vpnLib') - include jinLibs to src/main/jinLibs
- npx expo prebuild --clean
- npx expo start
- Scan and run the app on android
Please give me a hand I really need this