devx: Allow to run local dev EC on mobile in same wifi#3973
Open
BillCarsonFr wants to merge 1 commit into
Open
devx: Allow to run local dev EC on mobile in same wifi#3973BillCarsonFr wants to merge 1 commit into
BillCarsonFr wants to merge 1 commit into
Conversation
Johennes
approved these changes
May 20, 2026
Collaborator
Johennes
left a comment
There was a problem hiding this comment.
Pretty cool! I tested this on Android and other than having to disable DNS rebinding protection in my router, this worked fine. I don't have an iOS device to test, sadly.
Comment on lines
+110
to
+113
|
|
||
| ``` | ||
|
|
||
| ``` |
Collaborator
There was a problem hiding this comment.
I think this might be a leftover?
Suggested change
| ``` | |
| ``` |
|
|
||
| ``` | ||
| https://192-168-0-122.nip.io:3000/room | ||
|
|
Collaborator
There was a problem hiding this comment.
Nit: Extra blank line here.
Suggested change
|
|
||
| **For Element X Android Developer Tools** | ||
|
|
||
| In Element X's developer settings, set the Element Call URL to the same URL from step 3. |
Collaborator
There was a problem hiding this comment.
It looks like there is no step 3 above. Maybe we could just use the same language as in the iOS section?
Suggested change
| In Element X's developer settings, set the Element Call URL to the same URL from step 3. | |
| In Element X's developer settings, set the Element Call URL to the nip.io url (replace . with - in the IP address): |
| - No need to regenerate certificates when your laptop's IP changes | ||
| - Works from any device without DNS configuration | ||
| - iOS/Android treat it as a proper domain name, not an IP address | ||
| - One-time certificate setup works for all future IP addresses |
Collaborator
There was a problem hiding this comment.
I had to do this on my router.
Suggested change
| - One-time certificate setup works for all future IP addresses | |
| - One-time certificate setup works for all future IP addresses | |
| > [!IMPORTANT] | |
| > Make sure your network router doesn't enforce DNS rebinding protection (which will | |
| > break nip.io). If it does, try allow-listing nip.io in your router's administration interface. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Content
Modify a bit the current setup to allow testing the local dev EC on a physical mobile device without having to create
a PR and wait for netlify.
Main changes
host: trueto allow vite to accept external request (coming from physical device)nip.io(service that automatically resolves domain names to IP addresses embedded within them.) This allow a very easy access for mobile apps without specific config.🚨 IMPORTANT This PR has generated new certificates, so you will need to install them on your system again.
Motivation and context
Screenshots / GIFs
Tests
Checklist