Working with VPN and React Native (Expo) on Android/iOS

Tiempo de lectura: < 1 minuto

Reading time: < 1 minute

I’m going to show you how to test applications directly on your Android/iOS device with an activated VPN.

When we try to run the application from local to a mobile device with an activated VPN, it won’t find the address to execute.

npx expo start --dev-client
expo run

To make it work on a remote device with VPN, we need to initialize it by adding –tunnel

npx expo start --dev-client --tunnel
expo run --tunnel

Leave a Comment