Amazon ads - listener is not being called

When I call the init function, the listener is never called. So I do not know if the plugin was validated or not. 
 

When I give testMode=true and call show function, the test ad gets shown, but still the listener does not get called. 

What’s the problem? 

Hi Satheesh,

Did you find a solution? I’m running into the same problem.

Nevermind, just realized that the documentation is wrong, calling the listener outside of the {} fixes the problem.

   amazonAds.init({ licenseKey = “xxx”, testMode = true, appKey = “xxxx”},Listener)

cheers!

The docs have been updated to reflect the change in the listener param.

Thanks

Hi Satheesh,

Did you find a solution? I’m running into the same problem.

Nevermind, just realized that the documentation is wrong, calling the listener outside of the {} fixes the problem.

   amazonAds.init({ licenseKey = “xxx”, testMode = true, appKey = “xxxx”},Listener)

cheers!

The docs have been updated to reflect the change in the listener param.

Thanks