infinitered / infinitered/reactotron
Reconnect When testing app in Airplane mode
- Dominant language
- TypeScript
- Stars
- 15.6k
- Forks
- 972
- PR merge metrics
- No merged PRs in 30d
Description
I have some offline use cases for my app that I need to test. I'd like to run the tests by turning on airplane mode and then turning it back off after some time. When I navigate back to the home screen I want to reconnect to Reactotron and continuing catching logs.
How would I go about doing this? I have not been able to reconnecting using
```
Reactotron
.configure({ host: IP })
.useReactNative()
.connect();
```
Contributor guide
Research direction
No file or test is named. Start by tracing the React Native connection created by Reactotron.configure({ host: IP }).useReactNative().connect() and its behavior after airplane mode is disabled. Done means the app reconnects when returning home and continues sending logs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- devtools, mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100