I am creating a radio app which plays multiple radio in one app.the app has network information plugin, admob and whitelist plugin.. Network plugin gives an alert when the app goes offline..
I am using html5 audio tag to play mp3 files... The problem is when i switch on network or wifi connection before opening the app, audio file is playing and the app is working as expected, But when i switch on network or wifi connection while using the app(radio page) audio file is not playng...
any solution to make this work... because some users may switch on network or wifi after opening the app..
so, how to play the audio after switching on network connection while accessing the radio page(where audio tag is embedded)???
You can download the source code here....
What device(s) & OS version(s) are you testing on?
You might consider using the Media Plugin (https://www.npmjs.com/package/cordova-plugin-media) as well.