i have implemented app , need vibrate function invoke on button click in angularjs
. works fine on android
, on ios
says navigator
undefined
.
i have used below plugin vibrate function https://github.com/apache/cordova-plugin-vibration
is there workaround need work on ios?
maybe device muted? had issue logging correctly system volume off. this post on android solved me. in case phone has different types of volumes (media, call, etc), un-muting system
volume solved trouble.
be sure device un-muted. many (most) devices "mute" vibration audio.
Comments
Post a Comment