Building a metronome application and using Web Audio API / AudioContext.
Currently, when closing the app / locking the phone the audio is stopped. Is there any way I can get this to run in the background when locked / another app is open?
Reference of the schedular I am using to wrap around the API:
https://github.com/mohayonao/web-audio-scheduler
In Xcode I have checked Background Modes > Audio but this didn't change anything.
i hope this link will help you to achieve your requirement