Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to vibration web app apex version 20.2

Scripta14Apr 20 2021

I'm migrating a mobile app ver.5.1.3 in ver 20.2. I have to add vibration when I load a page but all ways I use to do that don't work.
The same application ver 5.1.3 on phone works fine. I can vibration the page. I've tried the same solution on apex 20.2 but It doesn't work.
I found out this code to test Vibration API
if (window.navigator && window.navigator.vibrate) {
// Shake that device!
} else {
// Not supported
}
I put it in Execute when the page loads with alert code. It works fine. The page shows an alert with a succefull message. Instead of the alert message, I've tried this solution navigator.vibrate(10000); but It's carrying on to not work.

Please, can anyone help me?

Comments
Post Details
Added on Apr 20 2021
2 comments
185 views