You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Marix (JIRA)" <ji...@apache.org> on 2018/03/09 11:02:00 UTC

[jira] [Created] (CB-13962) Notification.beep and media.play working only a certain number on Android

Marix created CB-13962:
--------------------------

             Summary: Notification.beep and media.play working only a certain number on Android
                 Key: CB-13962
                 URL: https://issues.apache.org/jira/browse/CB-13962
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-android
         Environment: Phonegap Desktop with Blank Example

and Phonegap Build with cli-6.5.0 but on lower versions the same
            Reporter: Marix
            Assignee: Joe Bowser


Hello,

i noticed that playing sound files and notification sound only working a certain number if it is played one after the other.

Then it stoped working an i have to kill the app and restart.
 

So i try the simplest example.

In Phonegap Desktop the Blank example with:



<a href="#" onclick="playBeep(); return false;">Play Beep</a>

<script type="text/javascript" charset="utf-8">   

     // Beep
     function playBeep() {

         navigator.notification.beep(1);
         console.log("beep");

     }

</script>

 

on Android 5.1.1 after 26 times stuck

on Android 7.1.1  and  8.1  after *14* times stuck

on iOS  I did not observe that

 

Then i make a loop every 2 sec a beep and explore that after 5 Minutes the device beeping again, but only 14 time (on Android 7.1.1)

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org