cordova-plugin-local-notifications icon indicating copy to clipboard operation
cordova-plugin-local-notifications copied to clipboard

Set vibrate is false, but it has been vibrating at every update progress time

Open lei-xiaoming opened this issue 5 years ago • 0 comments

Set vibrate is false on the update progress bar,but it has been vibrating at every update progress time.

Environment

  • Plugin version:cordova-plugin-local-notification": "^0.9.0-beta.2"
  • Platform:android
  • OS version:10
  • Device manufacturer / model:x5-LG
  • Cordova version (cordova -v):9.0.0 ([email protected])
  • Cordova platform version (cordova platform ls):android 8.1.0
  • Plugin config "cordova-plugin-badge": "^0.8.8", "cordova-plugin-device": "^2.0.3", "cordova-plugin-local-notification": "^0.9.0-beta.2",

Expected Behavior

Should not vibrate when create schedule or update progress.

Actual Behavior

It has been vibrating at every progress update progress time.

Steps to Reproduce

  1. default set
      cordova.plugins.notification.local.setDefaults({
        id:1,
        sound:false,
        vibrate:false,
        title: 'title',
        text: "0%",
        progressBar: { value: 0}
      });
  1. create schedule
        cordova.plugins.notification.local.schedule({
          id:1,
          text: "0%",
          progressBar: { value: 0}
        });
  1. update progress
        cordova.plugins.notification.local.update({
          id:1,
          text: "50%",
          progressBar: { value: 50 }
        });

Context

It has been vibrating when create schedule or update progress.

Debug logs

log.txt

lei-xiaoming avatar Jun 11 '20 02:06 lei-xiaoming