{"action":"created","issue":{"url":"https://api.github.com/repos/appcelerator-modules/ti.inappbilling/issues/4","labels_url":"https://api.github.com/repos/appcelerator-modules/ti.inappbilling/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/appcelerator-modules/ti.inappbilling/issues/4/comments","events_url":"https://api.github.com/repos/appcelerator-modules/ti.inappbilling/issues/4/events","html_url":"https://github.com/appcelerator-modules/ti.inappbilling/issues/4","id":42351694,"number":4,"title":"Does not work, throws an error on startIntentSenderForResult","user":{"login":"dereklucas","id":1444472,"avatar_url":"https://avatars.githubusercontent.com/u/1444472?v=3","gravatar_id":"","url":"https://api.github.com/users/dereklucas","html_url":"https://github.com/dereklucas","followers_url":"https://api.github.com/users/dereklucas/followers","following_url":"https://api.github.com/users/dereklucas/following{/other_user}","gists_url":"https://api.github.com/users/dereklucas/gists{/gist_id}","starred_url":"https://api.github.com/users/dereklucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereklucas/subscriptions","organizations_url":"https://api.github.com/users/dereklucas/orgs","repos_url":"https://api.github.com/users/dereklucas/repos","events_url":"https://api.github.com/users/dereklucas/events{/privacy}","received_events_url":"https://api.github.com/users/dereklucas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-09-09T21:07:45Z","updated_at":"2015-08-30T13:52:36Z","closed_at":null,"body":"I am getting the below error when trying to make purchases. I am using titanium SDK 3.3.0 and the Android version on device is running 4.0.3. I added to the android manifest:\r\n\r\n```\r\n<android xmlns:android=\"http://schemas.android.com/apk/res/android\">\r\n        <manifest>\r\n        <uses-permission android:name=\"com.android.vending.BILLING\" />\r\n        </manifest>\r\n     </android>\r\n```\r\n\r\nError:\r\n```\r\n[INFO] :   queryInventory\r\n[INFO] :   Query Inventory response: OK\r\n[INFO] :   subscriptionsSupported: true\r\n[INFO] :   queryInventory\r\n[INFO] :   Query Inventory response: OK\r\n[INFO] :   purchase gas\r\n[INFO] :   dalvikvm: Could not find method android.app.Activity.startIntentSenderForResult, referenced from method org.appcelerator.titanium.util.TiActivitySupportHelper.launchIntentSenderForResult\r\n[WARN] :   dalvikvm: VFY: unable to resolve virtual method 146: Landroid/app/Activity;.startIntentSenderForResult (Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V\r\n[DEBUG] :  dalvikvm: VFY: replacing opcode 0x74 at 0x0016\r\n[WARN] :   W/System.err: java.lang.NoSuchMethodError: android.app.Activity.startIntentSenderForResult\r\n[WARN] :   W/System.err:    at org.appcelerator.titanium.util.TiActivitySupportHelper.launchIntentSenderForResult(TiActivitySupportHelper.java:92)\r\n[WARN] :   W/System.err:    at org.appcelerator.titanium.TiBaseActivity.launchIntentSenderForResult(TiBaseActivity.java:615)\r\n[WARN] :   W/System.err:    at ti.inappbilling.util.IabHelper.launchPurchaseFlow(IabHelper.java:425)\r\n[WARN] :   W/System.err:    at ti.inappbilling.InappbillingModule.purchase(InappbillingModule.java:219)\r\n[WARN] :   W/System.err:    at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)\r\n[WARN] :   W/System.err:    at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:64)\r\n[WARN] :   W/System.err:    at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:884)\r\n[WARN] :   W/System.err:    at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1107)\r\n[WARN] :   W/System.err:    at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:347)\r\n[WARN] :   W/System.err:    at ti.modules.titanium.ui.TableViewProxy.handleMessage(TableViewProxy.java:942)\r\n[WARN] :   W/System.err:    at android.os.Handler.dispatchMessage(Handler.java:95)\r\n[WARN] :   W/System.err:    at android.os.Looper.loop(Looper.java:154)\r\n[WARN] :   W/System.err:    at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)\r\n[ERROR] :  TiExceptionHandler: (main) [33724,33724] ----- Titanium Javascript Runtime Error -----\r\n[ERROR] :  TiExceptionHandler: (main) [1,33725] - In app.js:89,26\r\n[ERROR] :  TiExceptionHandler: (main) [3,33728] - Message: Uncaught Error: android.app.Activity.startIntentSenderForResult\r\n[ERROR] :  TiExceptionHandler: (main) [1,33729] - Source:             InAppBilling.purchase({\r\n[ERROR] :  V8Exception: Exception occurred at app.js:89: Uncaught Error: android.app.Activity.startIntentSenderForResult\r\n```\r\n\r\nAny ideas? I've seen other people with this same problem dating back several weeks, but I can't find any solutions at all.. or even anything pointing in the right direction!"},"comment":{"url":"https://api.github.com/repos/appcelerator-modules/ti.inappbilling/issues/comments/136139598","html_url":"https://github.com/appcelerator-modules/ti.inappbilling/issues/4#issuecomment-136139598","issue_url":"https://api.github.com/repos/appcelerator-modules/ti.inappbilling/issues/4","id":136139598,"user":{"login":"Geek-Fish","id":8617164,"avatar_url":"https://avatars.githubusercontent.com/u/8617164?v=3","gravatar_id":"","url":"https://api.github.com/users/Geek-Fish","html_url":"https://github.com/Geek-Fish","followers_url":"https://api.github.com/users/Geek-Fish/followers","following_url":"https://api.github.com/users/Geek-Fish/following{/other_user}","gists_url":"https://api.github.com/users/Geek-Fish/gists{/gist_id}","starred_url":"https://api.github.com/users/Geek-Fish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Geek-Fish/subscriptions","organizations_url":"https://api.github.com/users/Geek-Fish/orgs","repos_url":"https://api.github.com/users/Geek-Fish/repos","events_url":"https://api.github.com/users/Geek-Fish/events{/privacy}","received_events_url":"https://api.github.com/users/Geek-Fish/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T13:52:36Z","updated_at":"2015-08-30T13:52:36Z","body":"I haven't yet and I think this is happening with some versions of Android 5 also. I've had a few people email me and say that purchasing and restoring isn't working on Samsung S5/S6, but I don't have one to test with. "}}