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

vibrate does not work on BlackBerry10

    XMLWordPrintableJSON

Details

    Description

      Used cordova-cli 3.0.6 to reproduce:

      $ cordova create tmp
      $ cd tmp
      $ cordova platform add blackberry10
      $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration.git
      

      I have the following code in my index.html:

      function vibrate() {
          navigator.notification.vibrate(100);
      }
      

      Then added a BlackBerry target to my Z10, and deployed with cordova run --keystorepass <pwd>.

      Calling the vibrate function above did nothing.

      Attachments

        Issue Links

          Activity

            People

              lorin.beer Lorin Beer
              filmaj Filip Maj
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: