-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add support for remote devices with re-frisk server #21805
base: develop
Are you sure you want to change the base?
Conversation
@@ -150,3 +150,6 @@ | |||
(goog-define STATUS_BACKEND_SERVER_ROOT_DATA_DIR "") | |||
;; if you're using android simulator, I suggest set the env variable to "http://10.0.2.2:" | |||
(goog-define STATUS_BACKEND_SERVER_IMAGE_SERVER_URI_PREFIX "https://localhost:") | |||
|
|||
(def re-frisk-host (get-config :RE_FRISK_HOST "http://localhost")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the default, but what I like to do is change this to my computer's local hostname. For example, when the mobile device and my laptop are on the same network, my phone can access my computer by its local hostname like dev.local
.
This is nice because using the local hostname avoids needing to update the RE_FRISK_HOST
variable whenever the IP address changes.
Jenkins BuildsClick to see older builds (4)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You did it ;) A nice improvement!
@@ -269,9 +269,11 @@ run-metro: export TARGET := clojure | |||
run-metro: ##@run Start Metro to build React Native changes | |||
@scripts/run-metro.sh | |||
|
|||
export RE_FRISK_PORT ?= 4567 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This port is also used in the target android-ports
. Could you update references to 4567
to this var?
This change allows for the client app to connect to the configured host address and port.
4a2519c
to
1c6e664
Compare
Summary
Platforms
Areas that maybe impacted
Non-functional
status: ready