Permalink
Browse files

Document adb shell input keyevent 82

Summary:
This information could be found already in older docs see https://facebook.github.io/react-native/releases/0.21/docs/running-on-device-android.html#accessing-development-server-from-device. It is missing from latest.

I think it's important alternative since shaking my device all the time borked my USB port
Closes #16241

Differential Revision: D6017905

Pulled By: shergin

fbshipit-source-id: 9426b4068a6bc60aed50f85b2f596d0494def52a
  • Loading branch information...
forki authored and facebook-github-bot committed Oct 10, 2017
1 parent bbceb48 commit b9da155fd8d555828bcfe0e1a268900e56281f4e
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/Debugging.md
View
@@ -14,7 +14,7 @@ React Native supports a few keyboard shortcuts in the iOS Simulator. They are de
## Accessing the In-App Developer Menu
You can access the developer menu by shaking your device or by selecting "Shake Gesture" inside the Hardware menu in the iOS Simulator. You can also use the `⌘D` keyboard shortcut when your app is running in the iOS Simulator, or `⌘M` when running in an Android emulator.
You can access the developer menu by shaking your device or by selecting "Shake Gesture" inside the Hardware menu in the iOS Simulator. You can also use the `⌘D` keyboard shortcut when your app is running in the iOS Simulator, or `⌘M` when running in an Android emulator. Alternatively for Android, you can run the command `adb shell input keyevent 82` to open the dev menu (82 being the Menu key code).
![](img/DeveloperMenu.png)

1 comment on commit b9da155

@sneerin

This comment has been minimized.

Show comment
Hide comment
@sneerin

sneerin Dec 21, 2017

this might have issues with new android versions, I'll provide details later.

sneerin commented on b9da155 Dec 21, 2017

this might have issues with new android versions, I'll provide details later.

Please sign in to comment.