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

iPhone doesn't vibrate in my code

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: