AppLovin / AppLovin-MAX-Unity-Plugin

121 stars 33 forks source link

Amazon sdk has "Not Initialized" status in mediation debugger, iOS crash #412

Open MadScientist11 opened 1 month ago

MadScientist11 commented 1 month ago

MAX Plugin Version

6.6.1

Unity Version

2022.3.22

Device/Platform Info

Android/iOS

Current Behavior

After initializing amazon sdk, the mediation debugger doesn't recognize it as "Initialized", but ads are working as expected.

Expected Behavior

No response

How to Reproduce

It's reproducable with AmazonMaxDemo script included into Applovin MAX package.

Additional Info

I'm able to load interstitial video ad, but banner ad is loaded with error image image

I'm also seeing a crash on iOS related to the banner ad, I suspect it's happening because the Amazon SDK is not being initialized. image

I'm also using Applovin GDPR flow and initializing amazon on MaxSdkCallbacks.OnSdkInitializedEvent, if that's helpful

MadScientist11 commented 3 weeks ago

Hi! Is there any news on this? Sorry, but I'm kinda stuck with Amazon integration because of this, was the issue reproducible on your end? Is there anything I can do to help, maybe provide more info?

JonathanLiuApp commented 3 weeks ago

Hi @MadScientist11, I wasn't able to reproduce your issue. However, I do have Amazon being initialized right after our Max SDK. In the code we do this:

MaxSdk.InitializeSdk(); Amazon.Initialize(AmazonAppId); Amazon.SetAdNetworkInfo(new AdNetworkInfo(DTBAdNetwork.MAX));

Could you try this and update to our latest plugin version 6.6.3 and latest amazon adapter see if that helps?