[iOS] Interstitial ad - GADMobileAds.applicationMuted isn't working as expected

217 views
Skip to first unread message

Steven Chen

unread,
Sep 29, 2022, 1:05:17 AM9/29/22
to Google Mobile Ads SDK Developers
As I imagned, this API should can mute the interstitial ad by default if we set true.
Unfortunately, no matter when I call this API, the sound of interstitial ad still play out.
btw, the device's (iphone) silent mode is off.

Also reported in github with reproduce steps, please help!!

Mobile Ads SDK Forum Advisor

unread,
Sep 29, 2022, 9:50:10 AM9/29/22
to steve...@alfred.camera, google-adm...@googlegroups.com
Hi Steven,

Thank you for reporting this to us.

I went ahead and check the reported behavior using our sample app. As per testing on iPhone 14 Pro Max - iOS 16.1 simulator, the GADMobileAds.sharedInstance().applicationMuted = true works as expected. With that, would it be possible for you to provide the following details via Reply Privately to Author option, so we could further investigate?
  • Screen recording of the behavior
  • Sample app
  • Device details where the issue is observed
  • SDK version
Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2eucBz:ref

Steven Chen

unread,
Sep 29, 2022, 11:37:21 AM9/29/22
to Google Mobile Ads SDK Developers
Hi Teejay, 
Thank you for the reply, hope you have a nice day.

Please check out this fork. I made some changes

The sound indictor suppose be muted by default  in interstitial ad, right? If we set applicationMuted = true

截圖 2022-09-29 下午11.28.05.png



mobileadssdk 在 2022年9月29日 星期四晚上9:50:10 [UTC+8] 的信中寫道:

Mobile Ads SDK Forum Advisor

unread,
Sep 29, 2022, 3:32:54 PM9/29/22
to steve...@alfred.camera, google-adm...@googlegroups.com
Hi Steven,

Thank you for getting back to us. 

I've retested this again many times and was able to repro the issue now. In addition, I could see that the sound indicator is not muted even though the applicationMuted were set to true. With that, I'll be sharing this to the rest of the team for further investigation. I'll update this thread the soonest I hear back from the team.

Mobile Ads SDK Forum Advisor

unread,
Feb 2, 2023, 1:18:22 PM2/2/23
to steve...@alfred.camera, google-adm...@googlegroups.com

Hi Steven,

 

I hope you're doing well.

 

I just want to circle back with regard to your concern for GADMobileAds.applicationMuted that isn't working. The team mentioned that when they tested again using Interstitial Example from our GitHub repo and from your fork, they unable to replicate it. The following information below are what they used when testing:

 

  • Tested using 16.2 iPhone 14 Pro
  • The device's (iPhone) silent mode is off.
  • Tested using ad unit id 
  • ca-app-pub-3940256099942544/8691691433

 

They also mentioned that, when applicationMuted = true, the ad was muted and when applicationMuted = false, the ad played with sound. Let us know if you still encounter this in your end.

 

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2eucBz:ref
Reply all
Reply to author
Forward
0 new messages