Easy Amazon Ads: Updating soon
A few days ago, Amazon sent out an email that they’ve updated their Ads API to support iOS8 and fixed a couple of bugs.
Be sure to integrate the latest version of the Amazon Mobile Ads API in your iOS app. The Amazon Mobile Ads API version 2.1.2 is compatible with iOS 8.0 and includes bug fixes for the in-app browser rendering on iOS 8.0 devices. If you are using Amazon Mobile Ads API for iOS version 2.1.1, please upgrade to 2.1.2 to pick up the armv7s architecture slice used by iPhone5/5C.
I began work updating the Easy Amazon Ads plugin, but I discovered a bug in the latest Amazon API.
They seem to have dropped support for the function that can programmatically close an ad, and at the same time, they’ve broken the way interstitials close.
If the user clicks the X button on an interstitial to close it, the API will fail to display any more interstitials. Ads can be cached and all the expected events fire, but attempting to show an interstitial produces the following message:
The interstitial ad cannot be shown because it is still loading. Please wait for the AdListener.onAdLoaded() callback before showing the ad.
Closing an interstitial with the back button from the menu works without fault. It’s just the X button that does this.
I’ve triple checked my code and I can’t find anything wrong with my work. I’ve contacted Amazon and I’m waiting for their response.