appcelerator-archive / ti.inappbilling

Other
25 stars 32 forks source link

Possible Error in Android 4.0.4 #5

Open natefollmer opened 9 years ago

natefollmer commented 9 years ago

I have no devices with this version of Android on it, but I've gotten about 6 or 7 emails from users staying they cannot purchase in-app products since I've updated to the latest ti.inappbilling build. They all have 4.0.4 - it works fine on every other version of Android I've tested and I know I've seen some purchases from users under 4.0. The weird thing is, restoring works fine for them, they just cannot purchase. The Google Play pop up never appears.

I've tried getting logs from these users, but that's not been going so well :) Has anyone else ran into this?

Thanks for this great module! Let me know if I can provide any more information. It's been working great for me otherwise!

TNuzzi commented 9 years ago

@Geek-Fish I am using a device with 4.0.4 on it and am getting the following error:

11-20 15:41:35.302: W/System.err(3015): java.lang.NoSuchMethodError: android.app.Activity.startIntentSenderForResult 11-20 15:41:35.302: W/System.err(3015): at org.appcelerator.titanium.util.TiActivitySupportHelper.launchIntentSenderForResult(TiActivitySupportHelper.java:92) 11-20 15:41:35.302: W/System.err(3015): at org.appcelerator.titanium.TiBaseActivity.launchIntentSenderForResult(TiBaseActivity.java:625) 11-20 15:41:35.312: W/System.err(3015): at ti.inappbilling.util.IabHelper.launchPurchaseFlow(IabHelper.java:425) 11-20 15:41:35.312: W/System.err(3015): at ti.inappbilling.InappbillingModule.purchase(InappbillingModule.java:219) 11-20 15:41:35.312: W/System.err(3015): at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method) 11-20 15:41:35.312: W/System.err(3015): at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:62) 11-20 15:41:35.312: W/System.err(3015): at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:884) 11-20 15:41:35.312: W/System.err(3015): at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1107) 11-20 15:41:35.312: W/System.err(3015): at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:347) 11-20 15:41:35.312: W/System.err(3015): at android.os.Handler.dispatchMessage(Handler.java:95) 11-20 15:41:35.322: W/System.err(3015): at android.os.Looper.loop(Looper.java:137) 11-20 15:41:35.322: W/System.err(3015): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)