Open dev menu with 3 fingers touch in react native instead of shake gesture
Branch: master
Clone or download
Latest commit 4db08a3 Feb 7, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Added hoc and fixed touch blocking bug Jan 21, 2019
.gitignore Initial commit Jan 21, 2019
.prettierrc Initial commit Jan 21, 2019 Update Jan 22, 2019
package.json version bump Feb 7, 2019
tsconfig.json Initial commit Jan 21, 2019
yarn.lock added react peer dependency Jan 29, 2019



Open dev menu with 3 fingers touch instead of shake.


when you want to reload the app


It's annoying to shake real device every time you need dev menu. Also - it looks quite awkward if you have co-workers sitting next to you and you shake your phone every 2 minutes.

How to use

Wrap entire app inside this component

import DevMenuOnTouch from 'react-native-dev-menu-on-touch';
// or:  import { DevMenuOnTouch } from 'react-native-dev-menu-on-touch'

class YourRootApp extends Component {
  render() {
    return (
        <YourApp />

or use with higher order component

import { withDevMenuOnTouch } from 'react-native-dev-menu-on-touch';
const YourAppRoot = withDevMenuOnTouch(YourApp);