cordova-plugin-nativeaudio icon indicating copy to clipboard operation
cordova-plugin-nativeaudio copied to clipboard

No Audio After App Has Been Closed and Re-Opened

Open joelcdoyle opened this issue 8 years ago • 0 comments

I have my preload code in in an event listener in Ionic so that it loads even if the template is cached:

$scope.$on("$ionicVew.beforeEnter", function () {
  try {
    window.plugins.NativeAudio.preloadSimple('MySound', 'path/to/sound.aac');
  }
};

Yet, if I close the app (both iOS and Android) by using the app manager, and then re-open the app, my sounds no longer play.

joelcdoyle avatar Dec 09 '15 18:12 joelcdoyle