I am writing a React APP for desktop, Android, and IOS.
I am currently testing it on my desktop fine. But how do I get it onto my phone to test?
You can use tunnels. One example is ngrok
if you are on localhost:3000
you can simply do:
ngrok http 3000
It will give you a link that you can visit on your phone. It will also update every time you update your react app.
installation: https://ngrok.com/download
docs: https://ngrok.com/docs
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.