Vibration in background

Vibration in background

BY 10 Dec 2013 Web Application Development

Hello.

When app open

if(settings_vibro == 1)
	navigator.vibrate(2000);
						
if(settings_sounds == 1)
	audioElement.play();

works vibration and sound

but when app in background, works only audio

how to make that the vibration worked in background?

Written by