on iOS device (tested on iOS 14) go to settings->privacy->tracking and turn OFF "allow apps to request to track"
try to load and show interstitial ad in your app using admob-plus
Expected Behavior
Interstitial loads and get shown on screen, as happens with the "allow apps to request to track" enabled.
Actual Behavior
Interstitial starts the load procedure (tested debugging the swift code) but the Promise is not resolved nor rejected. Therefore, the interstitial is never considered loaded.
Everything works fine in Android and if the beforementioned setting is turned ON.
Debugging the Swift code of AMSPlugin.swift, the interstitial_load function is fired and seems to get to the end (where it calls the cordova callback), but the callback (in the form of a "promise resolve" in my case, since i'm using ionic 5 and typescript) is never called.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is this a bug report?
Yes
Environment
Ionic 5 iOS 14
Steps to Reproduce
Expected Behavior
Interstitial loads and get shown on screen, as happens with the "allow apps to request to track" enabled.
Actual Behavior
Interstitial starts the load procedure (tested debugging the swift code) but the Promise is not resolved nor rejected. Therefore, the interstitial is never considered loaded.
Everything works fine in Android and if the beforementioned setting is turned ON. Debugging the Swift code of AMSPlugin.swift, the
interstitial_load
function is fired and seems to get to the end (where it calls the cordova callback), but the callback (in the form of a "promise resolve" in my case, since i'm using ionic 5 and typescript) is never called.Any help is appreciated. Thank you.