Sdkbox iap doesn’t restore consumable purchases after restart on Android.
On iOS restoration works fine: app starts, sdkbox.IAP.init() called, onSuccess callback with cipheredReceipt is called.
Configuration for iap validation on my server:
before init sdkbox.IAP
It works well for all other cases.
I debugged that after calling sdkbox.IAP.restore(), java listener in com.sdbox.plugin.IAPWrapper (sdkbox.jar) IAPWrapper.onPayResult method is called with data i needed, but neither onSuccess nor onRestored callback is called in my listener in typescript.
So, how can i get purchase data for verification, if sdkbox.IAP.finishTransaction not called immediately after listener’s onSuccess callback?
I’m using Cocos Creator v1.9.3 and iap plugin v188.8.131.52