AppLovin / AppLovin-MAX-React-Native

MIT License
55 stars 29 forks source link

Android Error on AppLovinMAX.showInterstitial #48

Closed jacow closed 2 years ago

jacow commented 2 years ago
Screen Shot 2021-12-13 at 14 27 12

Hi, i got this error from my android crashlytics dashboard after updating to new version. May you help me why this happen ? Thank you

thomasmso commented 2 years ago

Hey @jacow - we accidentally broke backwards compatibility with a recent release. I just pushed out v2.5.0, with these changes:

To show interstitials and rewarded ads without a placement, use AppLovinMAX.showInterstitial(<Ad Unit ID>) and AppLovinMAX.showRewardedAd(<Ad Unit ID>). To show with a placement, use AppLovinMAX.showInterstitialWithPlacement(<Ad Unit ID>, <Placement>) and AppLovinMAX.showRewardedAdWithPlacement(<Ad Unit ID>, <Placement>).