Is it possible to keep audio playing when displaying interstitial ads?

I just got started implementing ads with Chartboost and everything works great so far. But, I noticed that when I display an interstitial ad my app’s music gets muted. Once I close the ad playback resumes.

If I have music playing from another source like Spotify it does not mute that.

It’s not a huge deal but it makes the user experience kind of jarring, and I don’t see a reason why the music would need to be muted for a static image. I would understand it being muted for a video.

So, is it possible to keep the music playing?

Are you referring to iOS or Android?

On iOS the music continues to play while displaying a Chartboost ad.

Hey Ingemar,

Thanks for the quick response. I have only tested on Android so far. Also, I have only used the test ad. Not sure if that makes a difference.

On Android Corona suspends the app while showing an ad. That’s why the music stops.

The same thing happens with any other ad provider with interstitial ads like Admob or Vungle. It’s the way Corona works on Android, and unfortunately there’s nothing that can be done about it.

Ugh, that’s a shame. Anyway, thanks for the info. And most of all, thanks for your plugin :slight_smile: .

As a heads-up, you’ll need to handle this yourself on iOS. The app audio will continue to play while displaying ads (even video), so remember to use audio.pause() before showing video ads ;) .

please go to

http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/7110076-add-powermanager-class

and vote for " add poewrManage class" dude.

we need it

Are you referring to iOS or Android?

On iOS the music continues to play while displaying a Chartboost ad.

Hey Ingemar,

Thanks for the quick response. I have only tested on Android so far. Also, I have only used the test ad. Not sure if that makes a difference.

On Android Corona suspends the app while showing an ad. That’s why the music stops.

The same thing happens with any other ad provider with interstitial ads like Admob or Vungle. It’s the way Corona works on Android, and unfortunately there’s nothing that can be done about it.

Ugh, that’s a shame. Anyway, thanks for the info. And most of all, thanks for your plugin :slight_smile: .

As a heads-up, you’ll need to handle this yourself on iOS. The app audio will continue to play while displaying ads (even video), so remember to use audio.pause() before showing video ads ;) .

please go to

http://feedback.coronalabs.com/forums/188732-corona-sdk-feature-requests-feedback/suggestions/7110076-add-powermanager-class

and vote for " add poewrManage class" dude.

we need it