0.1.1 • Published 5 years ago
expo-triple-touch-reload v0.1.1
expo-triple-touch-reload
A simple wrapper component to add triple touch reload to Expo, following the deprecation of two-finger touch developer menu.
Don't shake your phone / laptop - triple-tap!
Installation
npm install expo-updates expo-triple-touch-reload
Usage
Simply wrap your main entry point in the default export from expo-triple-touch-reload and it will add a Gesture Handler that reloads your Expo app whenever you tap with three fingers.
import React from "react";
import TripleTouchReload from "expo-triple-touch-reload";
import MyHomePage from "./screens/MyHomePage";
const App = (props) => {
return (
<TripleTouchReload>
<MyHomePage/>
</TripleTouchReload>
)
}
export default App;