question

ivanna22 avatar image
ivanna22 asked

'AdDismissed' event is never firing on iOS with the Cordova plugin

I'm working on a Cordova app that is currently working perfectly in Android. When I try to run the same app on iOS everything works fine except the 'AdDismissed' event never actually fires. In the XCode console I can see that the Amazon plugin is aware that the interstitial has been closed: [b] 2015-11-10 16:03:05.486 TestApp[23413:6175798] Interstial loaded. 2015-11-10 16:03:05.544 TestApp[23413:6175798] AmazonAd: Sending metrics to AAX succeeded. 2015-11-10 16:03:08.176 TestApp[23413:6175798] Interstitial will be dismissed. 2015-11-10 16:03:08.179 TestApp[23413:6175798] AmazonAd: submitMetrics with URL http://aax-us-east.amazon-adsystem.com/url_removed_by_me 2015-11-10 16:03:08.179 TestApp[23413:6175798] Interstitial has been dismissed. 2015-11-10 16:03:08.238 TestApp[23413:6175798] AmazonAd: Sending metrics to AAX succeeded. [/b] Do I need to do something special to get this event to work on iOS? I can post example code but it's basically verbatim out of the documentation.
mobile ads
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Andrew@Amazon avatar image
Andrew@Amazon answered
There is currently a known bug in which none of the ad callbacks will fire in all iOS versions of the Mobile Ads Cross Platform Tool plugins. This will be fixed in the next release of the Mobile Ads Cross Platform Tools plugins.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ivanna22 avatar image
ivanna22 answered
You guys should probably add that under "Known Issues" on this page of the documentation: https://developer.amazon.com/public/apis/earn/mobile-ads/ios/docs/release-notes
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Andrew@Amazon avatar image
Andrew@Amazon answered
Thanks for the suggestion, ivanna22. This issue is actually caused by our Cross Platform Tool plugin, and not by the iOS SDK. That page contains release notes and known issues for the SDK when used through traditional iOS framework integration. Unfortunately, we do not have a similar page for the Cross Platform Tool plugins at the moment.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Andrew@Amazon avatar image
Andrew@Amazon answered
The new plugins for the Cross-Platform Engines have been released. You can find the information about the release here: https://forums.developer.amazon.com/forums/thread.jspa?threadID=10039&tstart=0 And you can download the new zip from the Mobile Ads page on the developer portal: https://developer.amazon.com/public/apis/earn/mobile-ads
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.