I\'m trying to do the react native \'hello world\', and I\'m using usb debugging on my android.
I ran react-native run-android
, then react-native sta
I found the solution :)
I am on ubuntu 16, so, I used command ip addr show which gave me my computer ip address.
I used this ip address and I was able to access localhost on my mobile.
Finally I added the ip address and port no to devsettings of android phone and My app was able to access development server