How to run React-Native app on mobile wireless

👋Hey,
Welcome 🙏

This tutorial is about React-Native🚀.

When I started learning React-Native that time I used to run React-Native App on mobile through the USB Cable,
But the best way is to connect android mobile through wireless 📲 and run React-Nativ…


This content originally appeared on DEV Community and was authored by Saurabh Chavan

👋Hey,
Welcome 🙏

This tutorial is about React-Native🚀.

When I started learning React-Native that time I used to run React-Native App on mobile through the USB Cable,
But the best way is to connect android mobile through wireless 📲 and run React-Native App.

🕸In this tutorial we will learn how to run React-Native App on real Device or android mobile wirelessly📲

🎬let's Start,

🥇first thing make Sure your laptop/pc connected to wi-fi
then find the IP-address

👉How to find IP-address;

  1. Open the Activities overview and start typing Settings.
  2. Click on Settings.
  3. Click on Wi-Fi in the sidebar to open the panel.
  4. Click the settings for the IP address and more details on your connection.

Image description

You will get IP-address🎉

👇Next,

I hope you created a react-native app.
Use the following command to run the React-native app in android.

react-native run-android

after that you will get an error🚨:

Image description

simply shack the 📱device and it will open the Developer Menu.
click on settings⚙️

Image description

you will find the option
⚒Debug server host & port for device📱
Click on it
Image description

Add your ip-address:8081

Image description

then go back to the app and reload the app 📲
🎉Congratulation your React-Native App runs wireless on the real device.

😻I hope this tutorial is helpful:)
Thank You ❤️🌸:)


This content originally appeared on DEV Community and was authored by Saurabh Chavan


Print Share Comment Cite Upload Translate Updates
APA

Saurabh Chavan | Sciencx (2021-12-28T13:02:47+00:00) How to run React-Native app on mobile wireless. Retrieved from https://www.scien.cx/2021/12/28/how-to-run-react-native-app-on-mobile-wireless/

MLA
" » How to run React-Native app on mobile wireless." Saurabh Chavan | Sciencx - Tuesday December 28, 2021, https://www.scien.cx/2021/12/28/how-to-run-react-native-app-on-mobile-wireless/
HARVARD
Saurabh Chavan | Sciencx Tuesday December 28, 2021 » How to run React-Native app on mobile wireless., viewed ,<https://www.scien.cx/2021/12/28/how-to-run-react-native-app-on-mobile-wireless/>
VANCOUVER
Saurabh Chavan | Sciencx - » How to run React-Native app on mobile wireless. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/12/28/how-to-run-react-native-app-on-mobile-wireless/
CHICAGO
" » How to run React-Native app on mobile wireless." Saurabh Chavan | Sciencx - Accessed . https://www.scien.cx/2021/12/28/how-to-run-react-native-app-on-mobile-wireless/
IEEE
" » How to run React-Native app on mobile wireless." Saurabh Chavan | Sciencx [Online]. Available: https://www.scien.cx/2021/12/28/how-to-run-react-native-app-on-mobile-wireless/. [Accessed: ]
rf:citation
» How to run React-Native app on mobile wireless | Saurabh Chavan | Sciencx | https://www.scien.cx/2021/12/28/how-to-run-react-native-app-on-mobile-wireless/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.