15
Views
3
Comments
[Vibration Plugin] Vibration Plugin does not work within my application
Question
vibration-plugin
Mobile icon
Forge asset by António Pereira
Application Type
Mobile

Dears,

I installed the Vibration Plugin in my Personel Environment. The demo application works very well in my cellphone. But when I use the client actions in my mobile application it not works. Some suggestion?

Thanks,

Roberto

2019-01-07 16-04-16
Siya
 
MVP

Solution is posted to https://www.outsystems.com/forums/discussion/97479/vibration-plugin-does-not-work-within-my-application/#Post421436

2024-06-12 08-10-25
Zeeshan Khan

Hello @Easy Batch ,

use javascript instead of using plugin for vibration


if ("vibrate" in navigator) {

   navigator.vibrate(1000);

}

to know more click here...

Thanks...

2022-08-31 18-26-36
Easy Batch

Hi Zeeshan Khan,

I am using this javascript. It works, but when the cell phone screen is turned off after the set brightness time, the vibration no longer works. It only works with the screen active. I would like my application to send a vibration even when the screen is off. 

Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.