Hello everyone,
I’m trying to use Device Motion plugin from Cordova. I already can obtain the acceleration values from the module, and use the watchAcceleration() function. But I would like to fire the getCurrentAcceleration() function when someone handles the phone.
I know there’s a plugin called Shake but it’s only supports iOS and I need it to work in iOS and Android.
If I could get some help I’d be very thankful.