You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "zhuisui (JIRA)" <ji...@apache.org> on 2016/07/22 03:26:20 UTC

[jira] [Created] (CB-11611) iPhone doesn't vibrate in my code

zhuisui created CB-11611:
----------------------------

             Summary: iPhone doesn't vibrate in my code
                 Key: CB-11611
                 URL: https://issues.apache.org/jira/browse/CB-11611
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Vibration
            Reporter: zhuisui


I write some code to implement a feature.
I inspect every element of array and if some satisfy condition I call {{vibrate}}.
code like this

{code:javascript}

document.addEventListener('data', v, false);
function v(arr){
var i=0;
while(i<arr.length){
if(condition){
vibrate(10);
}
i += arr.length / 10;
}
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org