distriqt / airnativeextensions

DEPRECATED: Original repository of the distriqt native extensions and is no longer maintained. Please see our site for the latest ANEs
https://airnativeextensions.com
2 stars 0 forks source link

InApp billing: multiple times setup and products loaded event triggered #187

Closed marzsman closed 9 years ago

marzsman commented 10 years ago

When I setup the connection to the in app billing service I sometimes get multiple times the events InAppBillingEvent.SETUP_SUCCESS and InAppBillingEvent.PRODUCTS_LOADED triggered.

I've done some tracing and my listeners are added only once so I'm not sure if it's something I can ignore or something I'm doing wrong.

This is happening for in app billing on IOS, I haven't tested it for the play store yet

marchbold commented 10 years ago

Hi, Firstly can you make sure you're using the most recent version from github. And secondly can you check you are only calling setup / getProducts once? Cheers