apache / cordova-plugin-vibration

Apache Cordova Vibration Plugin
https://cordova.apache.org/
Apache License 2.0
127 stars 129 forks source link

Vibration not working on iPhone 11 #87

Closed fedrod closed 4 years ago

fedrod commented 4 years ago

Bug Report

No vibration on iPhone 11 Pro, iOS 13.3.1

Problem

navigator.vibrate does not vibrate phone

What is expected to happen?

App should vibrate when function called

What does actually happen?

App does not vibrate

Information

navigator.vibrate(200) as well as navigator.vibrate([200]) on iPhone 11 Pro, iOS 13.3.1 has no effect.

Command or Code

navigator.vibrate(200) as well as navigator.vibrate([200]) on iPhone 11 Pro, iOS 13.3.1 has no effect.

Environment, Platform, Device

iPhone 11 Pro, iOS 13.3.1

Version information

9.0.0 (cordova-lib@9.0.1)

Checklist

  • [x] I searched for existing GitHub issues
  • [x ] I updated all Cordova tooling to most recent version
  • [x ] I included all the necessary information above
timbru31 commented 4 years ago

Is this reproducible in a new, plain Cordova app? A minimal reproduction repository would really help to debug and later fix this issue. More information on how to create one: https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md

timbru31 commented 4 years ago

Unable to reproduce (tested on an iPhone 6 with iOS 12.4.6 and an iPhone 7 with 13.4). Please provide a reproducible example as asked.