By default, expo start the web app open using the http://$hostIp:19006
(such as 192.168.1.10:19006
when your $hostIp
is 192.168.1.10
).
The are restrictions when using $hostIp
:
- we can’t access camera
- we can’t access position
- our backend need to declare host allowed to access it
For those reasons, we would like to always prioritize the http://localhost:19006
to work in development (instead of http://192.168.X.X:19006
The teamwork with GitLab.
Is there a way I can configure it so the browser that opens uses that URL?
Thanks a lot,
Dimitri
- SDK Version: 36
- Platforms: web