You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading the SDK version from 3.9.2 to 4.1.2, the loading of rewarded video ads fails under specific conditions.
This issue does not occur in versions 3.10.1 or earlier.
Expected Behavior
Launch the app.
Play a rewarded ad and terminate the app midway (task kill).
Restart the app and press the rewarded ad load button.
The ad plays successfully.
How to Reproduce
Launch the app.
Play a rewarded ad and terminate the app midway (task kill).
Restart the app and press the rewarded ad load button.
The ad fails to load (retrying does not resolve the issue).
Reproducible in the demo app?
Yes
Additional Info
I tried to check the error code, but I couldn't confirm it because the onAdLoadFailedCallback was not triggered.
/// Rewarded Ad ListenersAppLovinMAX.setRewardedAdListener(
RewardedAdListener(
onAdLoadedCallback: (ad) {
_adLoadState =AdLoadState.loaded;
_logStatus('Rewarded ad loaded from ${ad.networkName}');
_rewardedAdRetryAttempt =0;
_eventController.state =constRewardedAdEvent.onAdLoadedCallback();
notifyListeners();
},
onAdLoadFailedCallback: (adUnitId, error) {
_adLoadState =AdLoadState.notLoaded;
_rewardedAdRetryAttempt = _rewardedAdRetryAttempt +1;
var retryDelay =pow(2, min(6, _rewardedAdRetryAttempt)).toInt();
_logStatus(
'''Rewarded ad failed to load with code ${error.code} - retrying in ${retryDelay}s''',
);
// force crash <- not called when load failedFirebaseCrashlytics.instance.crash();
Future.delayed(Duration(milliseconds: retryDelay *1000), () {
AppLovinMAX.loadRewardedAd(_unitId);
});
_eventController.state =constRewardedAdEvent.onAdLoadFailedCallback();
notifyListeners();
},
...
The text was updated successfully, but these errors were encountered:
MAX Plugin Version
4.1.2
Flutter Version
3.24.3
Device/Platform Info
iOS 17.6.1 and 18.2
Current Behavior
After upgrading the SDK version from 3.9.2 to 4.1.2, the loading of rewarded video ads fails under specific conditions.
This issue does not occur in versions 3.10.1 or earlier.
Expected Behavior
How to Reproduce
Reproducible in the demo app?
Yes
Additional Info
I tried to check the error code, but I couldn't confirm it because the
onAdLoadFailedCallback
was not triggered.The text was updated successfully, but these errors were encountered: