4 Replies Latest reply on Mar 17, 2018 7:37 AM by jcesarmobile_

    Notification.beep and media.play working only a certain number on Android

    mail@biancagroh.de Level 1

      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