Audio autoplay not working in iOS app

I am building a religious app which has functionality of local notification and auto play sound. Its runing perfect on android phone. But not working on the iOS . Am using the javascript to play the sound. My code is below:

let audio = new Audio(src);

This worked when I press button like start prayer. But not work when prayer time come and local notification fire.

Please help to overcame this problem it causing me to rewrite the whole app in swift.

Kind regards