I believe that the Cordova Background mode plugin
might provide the required functionality. To add this plugin to your project, download it as a ZIP file from the GitHub repo and import it as a custom plugin
. However, if this plugin is imported, the app will be rejected from the Apple App Store.
Additionally, for iOS, you could check if Audio Background mode
works for you. More information about iOS background execution is available in this article
I hope this helps.
Telerik by Progress