Microsoft/react-native-windows

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

Open

#3,822 opened on 2019年12月31日

GitHub で見る
 (7 comments) (0 reactions) (0 assignees)C# (6,114 stars) (544 forks)batch import
API: CompletionArea: Developer MenuWorkstream: Component Parityenhancementhelp wanted

説明

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?

コントリビューターガイド