Hello, I have problem with SDKBOX IAP on Android. IAP only works first time when I click the button other times I got this log message:
INF: SDKBoxIAP: refresh Products
ERR: SDKBoxIAP Can't find any IAP listener.
INF: SDKBoxIAP: Processing a previous payment.
I have created IAP listener. I have tested on iOS looks like everything works fine. But on android it works only one time. Where can be a problem? Thanks
Hello, I think that I found bug in SDKBOX. In my game I use SDKBOX for AdColony, Chartboost, Google Analytics and IAP. In AppDelagate.cpp I call init() :
@m_45 - I think we had a bug with this. Can you make sure you are using the latest plugins for each and I think that you should be fine. IIRC, we fixed this in v1.1.5.
Interesting, we did test initialize everything with sdkbox-sample
Can you tell me your cocos2d-x version? and are you testing on ios or android?
Trying to reproduce this issue.
is this problem resolved yet?
I’m using on SDKBOX IAP v 1.3.0.18.
When I pressed the buy button for the first time the google play buy window showed and if I cancel or buy.
It doesn’t triggered on onSuccess or onFailed listeners. But if i call IAP:refresh() it caught in onProductRequestSuccess listeners. I see in logcat after I pressed the buy button for the second time it show this:
Also if I successfully buy an IAP, It doesn’t trigger the onSuccess.
After I restart the apps and bought the same item, it proceed to consume the previous successful purchase and trigger the onSuccess.
People wouldn’t know to restart the app to successfully get the IAP.
is this a bug or mistake in my code implementing the listeners?