AppLovin/AppLovin-MAX-React-Native

onAdLoadFailed not triggered when ads aren't loading due to lack of consent

bitfabrikken opened this issue · 2 comments

MAX Module Version

6.2.1

React Native Version

0.68.7

Device/Platform Info

Android, haven't tested iOS

Current Behavior

onAdLoadFailed is not called when ad fails to load, due to lack of consent.
It is however called when the ad is automatically refreshed, giving error code 204 as it should.

Expected Behavior

onAdLoadFailed is called when ad fails to load, due to lack of consent.

How to Reproduce

  1. Add eventlistener onAdLoadFailed to a banner that's shown in an app.
  2. In the Google UMP dialog, choose Manage options, then deselect everything and Confirm choices.
  3. Observe how the ad doesn't load, and the eventlistener isn't called.

Additional Info

No response

@bitfabrikken, sorry for not getting back to you soon. Since then, we have updated the underlying SDK that handled the event dispatch. Could you try this again with the latest version?