infinitered / infinitered/reactotron

App name not displaying

Open
#1,172 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.6k
Forks
972
PR merge metrics
No merged PRs in 30d

Description

I have multiple iOS running and it's hard to differentiate between the two because the name is not displaying.

Screenshot 2020-01-21 at 10 09 03

```let hostname;
if (process.env.NODE_ENV === "development") {
const scriptURL = NativeModules.SourceCode.scriptURL;
hostname = scriptURL.split("://")[1].split(":")[0];
}

const reactotron = Reactotron.configure({
name: "React Native App",
host: hostname,
})
.useReactNative()
.use(openInEditor())
.use(networking())
.use(trackGlobalErrors())
.use(reactotronRedux())
.use(sagaPlugin())
.connect();

export default reactotron;
```

Contributor guide

Open the contributing guide

Research direction

Start with the Reactotron.configure({ name: "React Native App" }) setup shown in the issue and reproduce it with multiple iOS apps connected. Trace how the configured name reaches the displayed app list, then verify that distinct app names are visible when the issue is fixed.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.