-
Notifications
You must be signed in to change notification settings - Fork 945
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
set reactotron default host without using code #940
Comments
Is this a simulator or real device? |
With simulator/emulator, you should be able to just set host to 127.0.0.1, though I suppose we could add that as a fallback if no host is provided. |
@kevinvangelder thank u doesn't work. |
@rady-ben Correct me if I'm wrong, but it sounds like Reactotron does correctly connect to localhost when no host is provided, you just have to follow the normal process of running While this isn't ideal, it is the currently expected behavior. Please note you will need to rerun that command any time you restart your emulator or reconnect a physical device. |
There's a great answer here #272 (comment) from @mkubliniak to get this working. |
Co-authored-by: Renovate Bot <bot@renovateapp.com>
I install reactotron on my Ubuntu 18.04.2 LTS, I am using
"react-native": "0.58.5"
"reactotron-react-native": "2.2.0"
the first time when reactotron didn't connect to my react native application with this configuration.
const reactotron = Reactotron.configure().useReactNative().connect()
I looked for solution on and I found that I have to add my IP address like this
const reactotron = Reactotron.configure({ host: My_IP_Adress' }).useReactNative().connect()
it work but the problem is that I am working with a team so I have to modify the reactotron.config.js before any push and it annoying me so I am looking for solution without updating my reactotron.config.js .
someone can help
thank you
The text was updated successfully, but these errors were encountered: