You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/07/24 19:11:10 UTC

[GitHub] [cordova-plugin-vibration] almaz1213 opened a new issue, #110: doesn't work

almaz1213 opened a new issue, #110:
URL: https://github.com/apache/cordova-plugin-vibration/issues/110

   # Bug Report
   
   ## Problem
   
   Android Studio Logcat: E/Capacitor/Console: File: http://localhost/main.26d719c053273456.js - Line 1 - Msg: Blocked call to navigator.vibrate because user hasn't tapped on the frame or any embedded frame yet: https://www.chromestatus.com/feature/5644273861001216


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-vibration] breautek commented on issue #110: doesn't work

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #110:
URL: https://github.com/apache/cordova-plugin-vibration/issues/110#issuecomment-1196163408

   This plugin relies on the webview implementation for the android platform. Unfortunately, based on the chrome status link, as of webview 60, it requires a trusted user event to be triggered before it will allow the vibrate API to be invoked.
   
   Possible workaround is to use v2.x of this plugin, which contains a native implementation, instead of relying on the browser implementation (however it may or may not work with modern tooling, I haven't tested it).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Re: [I] doesn't work [cordova-plugin-vibration]

Posted by "van9petryk (via GitHub)" <gi...@apache.org>.
van9petryk commented on issue #110:
URL: https://github.com/apache/cordova-plugin-vibration/issues/110#issuecomment-1764017985

   They should remove WebView implementation and restore native. Just tried v2 and works fine. With v3 I was unable to trigger vibration (POCO X3 NFC).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org