cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marix (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-13962) Notification.beep and media.play working only a certain number on Android
Date Fri, 09 Mar 2018 11:02:00 GMT
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


Mime
View raw message