Problem:
When an interstitial ad is loaded, the ad’s audio starts playing unexpectedly.
Details:
-
I am using the Appodeal plugin, and this issue only occurs on Android.
-
It does not happen every time. It seems that only certain ads trigger automatic audio playback.
(On my device, only two specific ad sounds keep repeating.) -
Even if I exit the app using
native.requestExit(), the sound continues to play. -
The sound only stops after force-closing the app from Android’s recent apps screen.
-
I shared extensive adb logcat data with ChatGPT, and it gave me the following analysis:
Logs show multiple VAST interstitial creatives mediated by BidMachine (sdk 3.4.0) through Appodeal (mediation sdk 3.10.0).
Potential networks involved include: VAST, Vungle, UnityAds, AppLovin, and MRAID creatives (Moloco CDN).
AudioTrack is created around the same time as VAST/MRAID initialization, and audio continues even when the app goes to the background, which suggests that the ad media player is not being properly stopped during lifecycle events.
I have already reported this issue to Appodeal, but I wanted to post here as well in case anyone else has experienced the same problem.
Plugins in use:
[ 'plugin.appodeal.base' ] = { publisherId = 'com.coronalabs' },
[ 'plugin.appodeal.GoogleAdMob' ] = { publisherId = 'com.coronalabs' },
[ 'plugin.appodeal.Unity' ] = { publisherId = 'com.coronalabs' },
[ 'plugin.appodeal.AppLovin' ] = { publisherId = 'com.coronalabs' },
[ 'plugin.appodeal.MyTarget' ] = { publisherId = 'com.coronalabs' },
[ 'plugin.appodeal.Vungle' ] = { publisherId = 'com.coronalabs' },
[ 'plugin.appodeal.Yandex' ] = { publisherId = 'com.coronalabs' },
By the way, I noticed that BidMachine still appears in the logs even though I am not using the plugin.appodeal.Bidmachine plugin.