Google IAP v3 crash

I’ve seen the error in post #1  happen from a user as well.  They used:

  1. Android 4.41

 
Galaxy Tab4 8.0 (milletwifiue)

I’ll rebuild with the latest public build and will follow up if I get this issue reported again.

Crash still being reported from APK builds using last Corona public build, 2014.2511

On my new app version with public build 2511, got a message from a user today… might be related:

java.lang.NullPointerException
at plugin.google.iap.v3.util.IabHelper.queryPurchases(IabHelper.java:817)
at plugin.google.iap.v3.util.IabHelper.queryInventory(IabHelper.java:540)
at plugin.google.iap.v3.util.IabHelper$2.run(IabHelper.java:613)
at java.lang.Thread.run(Thread.java:856)

Device: rk2928sdk, Android 4.1

Same problem game freezes then crashes.

No succesfull purchases in financial  from game update this night.

According to user reviews - restore also freezes game.

Getting random reports of this happening to players too. Only with a couple of the IAPs in the game though. 80% of them work perfectly (mix of managed and unmanaged) but a couple of them aren’t working for one of my players.

We will need a reproducible test case do be able to look into this.  It would be really nice to have more of the console log on the device’s that it’s crashing on. 

Rob

I have the same problem.
My app is freezing.
I’m using the latest version corona.

Any news yet? What about the compatibility with the v2 versions ‘old’ customers bought their versions with?

As far as I know the “crash” bug has been fixed.  If  you’re still crashing we need to analyze the reason.  We will need to know your config.lua, build.settings, version, see your store code, etc.  Also can you build the SampleCode/Store/InAppPurchases sample app.

I need you to run:

adb logcat

with no other parameters and look for any messages both from Corona and from Google Play, post those.

Now as far as V2 vs V3 compatibility, I don’t believe there are any server differences that affects the ability for one version of your app to run on V2 and the other on V3.  V3 requires that consumables be “consumed” before they can be bought again.  I’m not sure how that impacts V2.

Rob