Comments (4)
Try this:
[Android 4.x] Use 10.0.3.2
instead of localhost
on Genymotion:
import Reactotron from 'reactotron'
Reactotron.connect({
server: '10.0.3.2', // for Genymotion
port: 3334,
enabled: true
})
[Android 5.0+] just run command:
$ adb reverse tcp:3334 tcp:3334
from reactotron.
Is that IP always 10.0.3.2 for Genymotion?
Yes, it's different from the Android SDK emulator (10.0.2.2), and these are forward to localhost
of host machine.
from reactotron.
Hmm... I wonder if there's a way to detect the runtime environment then in Android? Maybe auto set this up?
The part of the brain that's responsible for logic & self-preservation is yelling: NO! BAD IDEA! DON'T DO IT!
I'm going to dig a bit.
from reactotron.
Ya, on Android 4.x, it doesn't know how to reach back to your computer. Like @jhen0409 said, you'll have to enter your IP address just like you did for your packager. Thanks @jhen0409.
Is that IP always 10.0.3.2 for Genymotion?
from reactotron.
Related Issues (20)
- redux/toolkit + Reactotron leads to jest error "TypeError: _reactotronConfig.default.createEnhancer is not a function" HOT 1
- Simplify prettier config
- TypeScript errors
- Clearing State subscriptions
- console.log capturing starts not immediatelly
- Bunch of TS errors from reactotron-core-client in a fresh project HOT 5
- Replacing a plugin "redux-saga"
- Cannot delete undefined subscriptions
- Reactotron need highlights
- Question: Save Store/Load Store HOT 1
- Reactotron does not support `BigInt()` HOT 5
- Requiring unknown module "3392". If you are sure the module exists, try restarting Metro. You may also want to run `yarn` or `npm install`
- eactotron/no-tron-in-production not working with curly braces and new lines
- Confusing UI change between 2.17 and 3.7
- Reactrotron not showing redux store HOT 1
- From version reactotron-react-native 5.0.5 HOT 1
- Compiling JS failed: 803620:268:')' expected at end of parenthesized expression Buffer size 35514497 starts with: 766172205f5f42554e444c455f535441 HOT 5
- Add Social Preview to GitHub Settings
- ctrl+enter combo when creating a action dispatch
- Reactotron is empty when i click the timeline page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactotron.