You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,32 @@ Welcome to flavour country.
74
74
* The JSON interface between client & server (coming soon...)
75
75
76
76
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.
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