Skip to content

Commit 70b6b79

Browse files
committed
Adds a tips section on the README.
1 parent 6536901 commit 70b6b79

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

readme.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,32 @@ Welcome to flavour country.
7474
* The JSON interface between client & server (coming soon...)
7575

7676

77+
# Tips
78+
79+
### Remote JS Debugging on Android
80+
81+
You'll need to turn of remote JS debugging as it hijacks the websocket channel between your app & Reactotron. I'm going to look into options. :|
82+
83+
84+
### Reverse Forwarding on Android
85+
86+
If you're running an android emulator and Android 5.x+ (or you're tethered on your device), then you'll need to forward port 9090 from your device back to your computer.
87+
88+
```sh
89+
adb reverse tcp:9090 tcp:9090
90+
```
91+
92+
### Running in Production Builds
93+
94+
Although I don't recommend this for security & privacy reasons, you may actually want to run Reactotron in a production build (please please don't ship to the AppStore with it enabled. <3).
95+
96+
A few changes you'll need to make is to install Reactotron with `--save` instead of `--save-dev`. From there, you're good to go. But you also might want to consider calling `Reactotron.connect()` if you're in `__DEV__` mode.
97+
98+
Here's a few us chatting about this subject:
99+
100+
https://github.com/reactotron/reactotron/issues/173
101+
102+
77103
# Special Thanks
78104

79105
Reactotron is sponsored by [Infinite Red](https://infinite.red) who encourage this type of open-source hacking & sharing. They specialize in React, React Native, and Elixir. <3

0 commit comments

Comments
 (0)