Launch app through USB cable instead of Wifi

#1

Hi,

I was wondering if there’s a way to simply launch the app through USB cable (localhost) instead of relying on the wifi connection and having to be on the same wifi both on the development machine and the device.
I know this can easily be done in an Expo app (not ejected) by pressing the “localhost” button in the left panel, is there an equivalent for ejected apps ?

Thank you

#2

When developing with Expokit, you’re running it through the respective IDE (so Xcode or Android Studio) and I’m fairly certain both allow you to connect to a device through USB

React Native actually has a guide for this

Good luck!