Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
edyb
Posts: 15
Registered: ‎03-25-2012
My Device: Torch 9800 and 9810 and Playbook
Accepted Solution

webkitVibrate not working on latest Webworks and Dev Alpha OS?

My app uses the navigator.webkitVibrate function, which was working fine on the previous Dev Alpha OS and also on Webworks SDK 1.0.2.9. 

 

I updated to 1.0.3.8 and also updated Dev Alpha, and now my app is broken. The vibration doesn't work. Any thoughts? Did this change or are extra permissions required in the config.xml file? Thanks.

BlackBerry Development Advisor
oros
Posts: 1,557
Registered: ‎04-12-2010
My Device: BlackBerry Z10

Re: webkitVibrate not working on latest Webworks and Dev Alpha OS?

Hi there, can you please log this against the BlackBerry 10 WebWorks framework repository on Github to ensure that the dev teams are aware of this? Providing a JSBin or JSFiddle sample test would be ideal.
https://github.com/blackberry/BB10-WebWorks-Framework/issues

Thanks!

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Contributor
edyb
Posts: 15
Registered: ‎03-25-2012
My Device: Torch 9800 and 9810 and Playbook

Re: webkitVibrate not working on latest Webworks and Dev Alpha OS?

Ok, I received a reply from Github....

 

It was moved:

 

navigator.webkitVibrate();

 

...now is....

 

navigator.vibrate();

 

Function name changed. I did a replace-text through all the code in my app and recompiled, not it works! THANKS so much!!!!!