question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]Rewarded Ads not Loading on iOS

See original GitHub issue

Describe the bug Test ads not displaying when user selects “Ask App Not To Track” on iOS 14 devices.

To Reproduce When promoted to allow for tracking, if the user selects the do not track button then rewarded ads do not load.

Expected behavior The ad does not buffer and the _on_MobileAds_rewarded_ad_failed_to_load signal does not get emitted IMG_0184

Screenshots If applicable, add screenshots to help explain your problem. Console Output

2021-06-21 08:29:09.989764-0400 Captain Skyrunner[372:9702] Calling load_rewarded

2021-06-21 08:29:09.989932-0400 Captain Skyrunner[372:9702] rewarded will load with the id

2021-06-21 08:29:09.989984-0400 Captain Skyrunner[372:9702] [My Admob App ID was output here]

2021-06-21 08:29:09.994954-0400 Captain Skyrunner[372:9702] <Google> To get test ads on this device, set: GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers = @[ @"e484e6d6f7ca8ecd79bb89626c9b8dff" ];

2021-06-21 08:29:09.995798-0400 Captain Skyrunner[372:9702] <Google> Note that test device identifiers may be reset when uninstalling and reinstalling the application.

2021-06-21 08:29:10.052532-0400 Captain Skyrunner[372:10127] [connection] nw_endpoint_handler_set_adaptive_read_handler [C3.1.1 172.217.1.14:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed

2021-06-21 08:29:10.052604-0400 Captain Skyrunner[372:10127] [connection] nw_endpoint_handler_set_adaptive_write_handler [C3.1.1 172.217.1.14:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed

2021-06-21 08:29:10.156482-0400 Captain Skyrunner[372:9906] [connection] nw_endpoint_handler_set_adaptive_read_handler [C4.1.1 172.217.164.194:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for read_timeout failed

2021-06-21 08:29:10.156530-0400 Captain Skyrunner[372:9906] [connection] nw_endpoint_handler_set_adaptive_write_handler [C4.1.1 172.217.164.194:443 ready channel-flow (satisfied (Path is satisfied), viable, interface: en0, ipv4, dns)] unregister notification for write_timeout failed

2021-06-21 08:29:10.368262-0400 Captain Skyrunner[372:9702] Rewarded ad failed to load with error: Request Error: No ad to show.

2021-06-21 08:29:10.368406-0400 Captain Skyrunner[372:9702] error while creating reward

Smartphone (please complete the following information):

  • Device: iPhone SE 2nd generation
  • OS: iOS 14.6

Additional context

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:33 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
Tekuzocommented, Jul 2, 2021

Ok, I have done a little bit more testing. When I update the info.plst to have my GADApplicationIdentifier from Admob, and update the rewarded Ad ID inside of the plugin configuration screen

Rewards Ads are not loading when my Phone is on Wifi, they only load when I am on LTE. Rewarded Ads are also not loading when I select the app to not track me. The console always says “ad failed to load, no ad to serve”.

If I leave info.plst alone, and leave the Ad IDs at the default values the test ads seem to load fine regardless of my responses. I am not sure what the exact nature of the problem is, if its is a problem with the plugin or if there are actually no ads to serve.

0reactions
Tekuzocommented, Jul 4, 2021

Ok, so this has been a me problem the while time.

Excellent, thank you for that bit of missing information.

Your plugin is fantastic then 😄 and I have been having no issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ads not working , anyone have this happen where you click on ...
Ads not working , anyone have this happen where you click on the daily reward ad and it doesn't work. Mine did this...
Read more >
Ads Not Working - Apple Support Communities
We understand you're having trouble viewing in-game ads on your iPad. We'd be happy to help you troubleshoot this.
Read more >
Admob reward ads don't work on ios on Expo App
I have found the problem today. It was a React Native Modal bug rather than a bug with the ads. – Mikayel Saghyan....
Read more >
Error: Reward based video ad failed to load. - Google Groups
I am currently having an issue on requesting a reward video. I do the steps on integration interstitial, banner and rewarded video ad,...
Read more >
Reward ads is zoom in in my android · Issue #1951 - GitHub
My Video reward ads are zoomin and not fully visible on my device. On my iphone ... This is a huge problem, that's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found