mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-30 22:12:42 +08:00
Make "Debug JS" dev menu option persist across app restarts on RN Android
Summary:
1. Make "Remote JS Debug" and "Start/Stop Profile" options persist across app restarts.
2. Check and confirm:
- All options in the Android dev menu are persisted now.
- The behavior is the same on Android and iOS now.
Reviewed By: mkonicek
Differential Revision: D3340097
fbshipit-source-id: 4087b6605031c650e164282244cedb006f8f6fd3
This commit is contained in:
committed by
Facebook Github Bot 8
parent
8d4b15d253
commit
60e0d2c676
@@ -38,4 +38,15 @@ public interface DeveloperSettings {
|
||||
* @return Whether element inspector is enabled.
|
||||
*/
|
||||
boolean isElementInspectorEnabled();
|
||||
|
||||
/**
|
||||
* @return Whether remote JS debugging is enabled.
|
||||
*/
|
||||
boolean isRemoteJSDebugEnabled();
|
||||
|
||||
/**
|
||||
* Enable/Disable remote JS debugging.
|
||||
*/
|
||||
void setRemoteJSDebugEnabled(boolean remoteJSDebugEnabled);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user