Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Custom server/host arguments #1

Closed
wants to merge 3 commits into from
Closed

Conversation

comigor
Copy link
Collaborator

@comigor comigor commented Jan 3, 2018

Enable the use of custom server options to be passed to detox-server, so we can bind its IP address to 0.0.0.0.

Example of the new configuration (on package.json):

"detox": {
  "configurations": {
    "android.emu": {
      "binaryPath": "android/sample/build/outputs/apk/sample-appiumTest-release.apk",
      "build": "./android/scripts/build-detox.sh",
      "type": "android.attached",
      "name": "Nexus_5X_API_25",
      "session": {
        "shouldStartServer": "true",
        "host": "ws://0.0.0.0:9999",
        "server": "ws://172.19.193.234:9999",
        "sessionId": "123456-123456"
      }
    }
  }
}

@comigor comigor closed this Apr 3, 2018
@comigor comigor deleted the custom-server-arguments branch April 3, 2018 14:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant