Looks like a bug, report it on issues.cordova.io
Ok, another Account to create for one question...
Now, i make a loop that beep every 2 sec.
I explore that Android 7.1.1 beeping again after every 5 minutes but only then 14 times
And i try lower versions of the cli.
but that doesn't make any difference whether cli-6.5.0 (6.1.2) oder lower 4.1.1, 3.6.4 etc.
And thats a huge problem.
Example - a chat that can only make "pling" 14 times in 5 minutes?
On android 7.1.1 and 8.1 is the intervall 5 minutes and beeping 14 times,
on android 5.1.1 the intervall is 3 minutes and beeping 26 times
and on android 4.4.2 it's beeping infinitive
So what if it's not a problem from phonegap / cordova but from android itself??
with Ionic the same - play 14 beeps only..
The answer was that this won't be fixed .
So that means that cordova is totally useless for projects that play sounds.
it would be absolutely welcome if it were pointed out in the cordova docs
1 person found this helpful
For playing sounds there are probably better plugins than the dialogs one.https://github.com/floatinghotpot/cordova-plugin-nativeaudio
You can try