reactotron
reactotron copied to clipboard
Custom Commands broken
When defining custom commands in ReactotronConfig.js in an Ignite project, after configure, clear and console.log = Reactotron, setting Custom Commands simply does not work. If I remove Custom Commands, Reactotron works perfectly.
Case 1: Reactotron.onCustomCommand({ command: 'command 1', title: 'command 1', handler: () => console.log('hi') })
Result 1: Reactotron screen goes pure white when React Native application finishes launching.
Case 2: Reactotron.onCustomCommand("test", () => console.log("This is an example"))
Result 2: Nothing happens when you click on the button.
Using Reactotron 2.17.0.680
What version of reactotron-react-native are you running?
"reactotron-react-native": "^2.0.0-beta.2",
On Aug 27, 2019, at 5:51 PM, rmevans9 [email protected] wrote:
What version of reactotron-react-native are you running?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/infinitered/reactotron/issues/1123?email_source=notifications&email_token=AALPODGFYNXSEYB3IGZCWJTQGXDZJA5CNFSM4IKWHGW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5JRI6Y#issuecomment-525538427, or mute the thread https://github.com/notifications/unsubscribe-auth/AALPODHOVUDXCR277GGHZN3QGXDZJANCNFSM4IKWHGWQ.