Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to connect showing null #57

Open
mikias21 opened this issue Dec 6, 2023 · 1 comment
Open

Trying to connect showing null #57

mikias21 opened this issue Dec 6, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@mikias21
Copy link

mikias21 commented Dec 6, 2023

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:

  1. npx expo prebuild --clean
  2. update the settings.gradle file to include
    include ':vpnLib'
    project(':vpnLib').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-simple-openvpn/vpnLib')
  3. include jinLibs to src/main/jinLibs
  4. npx expo prebuild --clean
  5. npx expo start
  6. Scan and run the app on android

Please give me a hand I really need this

@mikias21 mikias21 added the bug Something isn't working label Dec 6, 2023
@ccnnde
Copy link
Owner

ccnnde commented Dec 8, 2023

I haven't tested Expo myself, so I'm not sure if it's supported. However, there might be people who have tried it and succeeded. You can take a look at this issue #46 and consult with Maders for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants