Hello I'm using cordova 2.7.0 and I need to use the notification.beep() method. But I've a problem, my app rings even if the phone is in silent mode.
any suggestions?
I'm using iphone 5.
Hello I'm using cordova 2.7.0 and I need to use the notification.beep() method. But I've a problem, my app rings even if the phone is in silent mode.
any suggestions?
I'm using iphone 5.
Update your code in CDVSound.m file
Note: (void)setVolume is for phonegap 3.4 , Im not sure if the function is same for other older versions as well.. But similar function must be there to set volume.
Add following 2 lines of code to function setVolume, This will set volume of the sound same as sound set on device.
Complete code will be as follows
}