I’m trying a test with : android.test.purchased
I got this crash on sdkbox::IAP::purchase
In-app billing error: Unable to buy item, Error response: 7:Item Already Owned
Ending async operation: launchPurchaseFlow
Shutting down VM
FATAL EXCEPTION: main
java.lang.NullPointerException: Attempt to invoke virtual method ‘com.sdkbox.plugin.util.iap.Purchase com.sdkbox.plugin.util.iap.Inventory.getPurchase(java.lang.String)’ on a null object reference
at com.sdkbox.plugin.SDKBoxIAPGooglePlay$6.onIabPurchaseFinished(SDKBoxIAPGooglePlay.java:465)
at com.sdkbox.plugin.util.iap.IabHelper.launchPurchaseFlow(IabHelper.java:392)
at com.sdkbox.plugin.util.iap.IabHelper.launchPurchaseFlow(IabHelper.java:338)
at com.sdkbox.plugin.util.iap.IabHelper.launchPurchaseFlow(IabHelper.java:333)
at com.sdkbox.plugin.SDKBoxIAPGooglePlay$3.run(SDKBoxIAPGooglePlay.java:214)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5223)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)