import { ShakeEventExpo } from './ShakeEventExpo';
componentWillMount() {
ShakeEventExpo.addListener(() => {
Alert.alert('Shaking!!!');
});
}
componentWillUnmount() {
ShakeEventExpo.removeListener();
}
-
Notifications
You must be signed in to change notification settings - Fork 7
sadi304/shake-event-expo-crna
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple shake event handler for CRNA apps. Required Expo (Accelerometer)
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published