Instawork / hyperview

Server-driven mobile apps with React Native

Home Page:https://hyperview.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to change the demo app source link?

roelve opened this issue · comments

commented

This may be a bit of an unusual question but bear with me:

I used to be able to change the source URL of the supplied demo app so I could load app screens that are being served by my own local server rather than the integrated demo app folder. It seems however that with some relatively recent changes in how the demo app is viewed on Android, I am no longer able to do that because it is necessary (as far as I can tell) for a port to be forwarded for the demo to work which didn't use to be the case. Is there something I'm missing? Is there a way to still achieve this? Keep in mind: I'm not a developer but rather an aspiring full stack designer looking at Hyperview to extend my reach into the mobile development sphere, mainly so I can hypothetically reuse already acquired skills I have on the web on developing for mobile devices (HTMX is what brought me here).

Hi @roelve ,

I believe the port forwarding use case is covered in the README here: https://github.com/Instawork/hyperview#running-on-an-android-virtual-device

If you change the demo app source link here to something that uses a port other than 8085, you will need to re-run the adb reverse command with the new port being used. Is that something you've already tried?