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

navigator.vibrate is not work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.7.0, 3.6.3
    • Fix Version/s: None
    • Labels:
    • Environment:

      phonegap 3.6.3 with all latest plugin
      ios 8.0.2
      winphone 8.1
      Android 4.4.2
      all real machine

      org.apache.cordova.vibration = > 0.3.11

      Description

      according to this
      https://github.com/apache/cordova-plugin-vibration/blob/5adf530d3663226ad6913de6cfc8493672334023/doc/index.md

      it said...

      [the recommended way]
      navigator.vibrate
      navigator.vibrateWithPattern
      navigator.cancelVibration

      [the deprecated way]
      navigator.notification.vibrate
      navigator.notification.vibrateWithPattern
      navigator.notification.cancelVibration

      but in fact´╝îwhen I use it
      navigator.notification.[yourmethod] is work but navigator.[yourmethod] not !!

        Attachments

          Activity

            People

            • Assignee:
              jcesarmobile jcesarmobile
              Reporter:
              bau720123 Colin Bau
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 12h
                12h
                Remaining:
                Remaining Estimate - 12h
                12h
                Logged:
                Time Spent - Not Specified
                Not Specified