<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Miguel,<div><br></div><div>You could install a cordova plugin for that&nbsp;<a href="https://github.com/apache/cordova-plugin-vibration">https://github.com/apache/cordova-plugin-vibration</a>&nbsp;or&nbsp;<span style="background-color: rgb(0, 0, 0); font-family: 'Andale Mono';"><font color="#ebebeb">org.apache.cordova.vibration</font></span>&nbsp;then put this in the onNotification handler:</div><div><pre style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; margin-top: 15px; margin-bottom: 15px; background-color: rgb(248, 248, 248); border: 1px solid rgb(221, 221, 221); line-height: 19px; overflow: auto; padding: 6px 10px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal; color: rgb(51, 51, 51);"><code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin: 0px; border: none; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; display: inline; vertical-align: middle; line-height: inherit; padding: 0px; word-wrap: normal;">navigator.notification.vibrate(time)</code></pre></div><div><div><blockquote type="cite"><div dir="ltr"><div><br><div>if (e.coldstart) {</div><div><span class="" style="white-space:pre">                </span>&nbsp;</div>
<div><span class="" style="white-space:pre">                </span>} else {</div><div><span class="" style="white-space:pre">                </span> &nbsp;&nbsp;</div><div><span class="" style="white-space:pre">                </span>}</div></div></div></blockquote></div><br></div><div>This is android specific, it’s set to true when the application was not active not even in the background and the system started the app to respond to the notification.</div><div><br></div><div>Hope that helps,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Erik Jan</div></body></html>