reactotron icon indicating copy to clipboard operation
reactotron copied to clipboard

App name not displaying

Open tinypell3ts opened this issue 6 years ago • 0 comments

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
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;

tinypell3ts avatar Jan 21 '20 10:01 tinypell3ts