Microsoft/react-native-windows

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

Open

#3,822 建立於 2019年12月31日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)C# (6,114 star) (544 fork)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?

貢獻者指南