How do I open react-native's dev menu on real device
<p>I have seen already a number of border cases and strange developer interface.</p>

<p>From the <a href="https://egghead.io/lessons/react-react-native-debugging-on-an-ios-device" rel="noreferrer">"shake your device"</a>, which is really impractical, specially with a tablet</p>

<p>To <a href="https://stackoverflow.com/a/36615435/2633577">working around Android studio</a> to simulate a button press.</p>

<p>Is there a consistent way to do it? Can't we use a intern API to have a debug button within our app to launch such menu as <code>navigator.popUpDevMenu()</code>?</p>

<p>And if not, how do you shake your tablet to get it working. This is intended to solve <a href="https://stackoverflow.com/questions/37839227/how-do-i-use-hmr-when-developing-react-native-on-a-device">How To configure HMR on a real device</a>, too. React native does improve the development experience, but I'd say that particular thing slows it a little bit.</p>