It turns out that if you don't add a particular listener then you can get an exception. I.e. I didn't add the ad expanded listener and when the banner is clicked I get this: KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[com.amazon.mas.cpt.ads.IDelegator]].get_Item (System.String key) [0x00000] in
:0 at com.amazon.mas.cpt.ads.AmazonMobileAdsImpl.FireEvent (System.String jsonMessage) [0x00000] in
:0 at com.amazon.mas.cpt.ads.AmazonMobileAdsImpl+AmazonMobileAdsBase.UnityFireEvent (System.String jsonMessage) [0x00000] in
:0 Surely it should be optional whether to add a particular listener or not?
I'm using the Dec 8 SDK. According to the sticky this is the latest one.
https://forums.developer.amazon.com/forums/ann.jspa?annID=77 When I look at your SDK page there's no indication what date it was updated last, and in the Unity section there are no version numbers at all next to AmazonMobileAds. How do I know what version I'm currently using, and whether a newer version is available?
https://developer.amazon.com/public/resources/development-tools/sdk Unity/ -- AmazonGameCircle/ -- AmazonGameCircle.unitypackage version 2.5.2 resources/ -- GameCircle-In-Game-Logos/ -- image-masks/ -- AmazonInAppPurchasing/ -- 2.0/ version 2.0 AmazonIapV2.unitypackage version 2.0.1 PreviousVersions/ -- 1.0/ version 1.0 AmazonIAP.unitypackage -- AmazonMobileAds/ -- AmazonMobileAds.unitypackage -- You don't make it easy for developers!