Skip to content

Commit

Permalink
Document adb shell input keyevent 82
Browse files Browse the repository at this point in the history
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 b9da155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

1 comment on commit b9da155

@sneerin
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.