Background Audio

📘

Background audio permission on iOS allows audio from the app to be played while the app is minimized or backgrounded. Use the GoNative JavaScript Bridge to start and stop the background audio service to make use of this feature.

️GoNative JavaScript Bridge

To start the background audio service:

gonative.backgroundAudio.start();

To stop the background audio service:

gonative.backgroundAudio.stop();