Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11611

iPhone doesn't vibrate in my code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None

    Description

      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

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

      But it doesn't vibrate, until event data doesn't be dispatched.

      Attachments

        Activity

          People

            jcesarmobile jcesarmobile
            zyf0330 zhuisui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: