Microsoft/react-native-windows

Enable access to the developer menu through NativeModules.DevMenu from within the RNW app context

Open

#3 822 ouverte le 31 déc. 2019

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)C# (544 forks)batch import
API: CompletionArea: Developer MenuWorkstream: Component Parityenhancementhelp wanted

Métriques du dépôt

Stars
 (6 114 stars)
Métriques de merge PR
 (Merge moyen 4j 14h) (45 PRs mergées en 30 j)

Description

Hello, I am from React Native Tools VS Code extension developement team. In the extension we have special command palette commands to reload the attached app and to show React Native Developer Menu in it. In RN Android we do that via adb commands, in iRN OS we do that via require('NativeModules').DevMenu.show() and require('NativeModules').DevMenu.reload() during debugging, but in React Native for Windows 0.60.0-vnext.105 there is no DevMenu in the NativeModules list.

React Native iOS React Native Windows
image image

So we'd like to ask if the team plans to implement access to the DevMenu from the NativeModules package, or maybe there are some other alternatives for programmatically accessing Developer Menu during debugging?

Guide contributeur