Okay, after trawling through the raw log, there are two things that seem to stand out. The first is an exception:
E/Parcel ( 907): Class not found when unmarshalling: com.google.android.finsky.billing.lightpurchase.PurchaseParams
E/Parcel ( 907): java.lang.ClassNotFoundException: com.google.android.finsky.billing.lightpurchase.PurchaseParams
E/Parcel ( 907): at java.lang.Class.classForName(Native Method)
E/Parcel ( 907): at java.lang.Class.forName(Class.java:309)
E/Parcel ( 907): at java.lang.Class.forName(Class.java:273)
E/Parcel ( 907): at android.os.Parcel.readParcelableCreator(Parcel.java:2281)
E/Parcel ( 907): at android.os.Parcel.readParcelable(Parcel.java:2245)
E/Parcel ( 907): at android.os.Parcel.readValue(Parcel.java:2152)
E/Parcel ( 907): at android.os.Parcel.readArrayMapInternal(Parcel.java:2485)
E/Parcel ( 907): at android.os.BaseBundle.unparcel(BaseBundle.java:221)
E/Parcel ( 907): at android.os.BaseBundle.getString(BaseBundle.java:918)
E/Parcel ( 907): at android.content.Intent.getStringExtra(Intent.java:5794)
E/Parcel ( 907): at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:2402)
E/Parcel ( 907): at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:1883)
E/Parcel ( 907): at com.android.server.am.ActivityManagerService.startActivityInPackage(ActivityManagerService.java:5737)
E/Parcel ( 907): at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:257)
E/Parcel ( 907): at com.android.server.am.ActivityManagerService.startActivityIntentSender(ActivityManagerService.java:5510)
E/Parcel ( 907): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:262)
E/Parcel ( 907): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3229)
E/Parcel ( 907): at android.os.Binder.execTransact(Binder.java:446)
E/Parcel ( 907): Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.google.android.finsky.billing.lightpurchase.PurchaseParams” on path: DexPathList[[directory “.”],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/Parcel ( 907): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/Parcel ( 907): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/Parcel ( 907): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
E/Parcel ( 907): … 18 more
E/Parcel ( 907): Suppressed: java.lang.ClassNotFoundException: com.google.android.finsky.billing.lightpurchase.PurchaseParams
E/Parcel ( 907): at java.lang.Class.classForName(Native Method)
E/Parcel ( 907): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
E/Parcel ( 907): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
E/Parcel ( 907): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
E/Parcel ( 907): … 19 more
E/Parcel ( 907): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
But then again, the purchase seems to go through, so maybe it’s nothing.
I see the purchase being successful:
I/UnityIAP(11859): Successful resultcode from purchase activity.
I/UnityIAP(11859): Purchase data: {“orderId”:“GPA.1375-1597-9324-16851”,“packageName”:“com.triplefun.Masters”,“productId”:“masters_pack_x_small_diam”,“purchaseTime”:1462973484639,“purchaseState”:0,“purchaseToken”:“bdefigommkffffpadebiknml.AO-J1OwDDkJPTDVhhBwajE7FKHQHJldTFbM9QyNslVla1WiSQljHdQ_G5hDefpR_zlTOi4hffwrkPuUh-U8iRvhoGh6lWq4cx2mrRDGwHhsvxPEExvjZ0mpxiHPVlqHeY5WXRP6nDx7wuEqKST-pSA-8FcJT2f-cLg”}
I/UnityIAP(11859): Data signature: mp40CkUuS7CE93HpNn23bJ9pbnxCOFL0dOspq5ugVRtq3S+3JD+wAajUoQJi5nHk7IMrwwkuz/4jid/hFEXwbcxJWusFFnxkW0tuuaD1qypkCUs7Kj5i/B46k21y3gU3ZhaCBcA03LXbUwXYJ650naDS+MHXrFxukW3PBCGEAkvYOAhYuG1QYFwo+8HVNTmyoK0I58oYtGpGdadedrpwG1jEh/eaYaoI/cFUr2zQAMS4qcsXI91VoEP2t1itjmYaZD4lhiZ9CfudmejAiSUuroxncpbj1ipqxMn5oZXWADP6msIZf7uK4os1wxGPBkuExYYi/+Spb06VZZQdFICZpQ==
I/UnityIAP(11859): Extras: Bundle[{INAPP_PURCHASE_DATA={“orderId”:“GPA.1375-1597-9324-16851”,“packageName”:“com.triplefun.Masters”,“productId”:“masters_pack_x_small_diam”,“purchaseTime”:1462973484639,“purchaseState”:0,“purchaseToken”:“bdefigommkffffpadebiknml.AO-J1OwDDkJPTDVhhBwajE7FKHQHJldTFbM9QyNslVla1WiSQljHdQ_G5hDefpR_zlTOi4hffwrkPuUh-U8iRvhoGh6lWq4cx2mrRDGwHhsvxPEExvjZ0mpxiHPVlqHeY5WXRP6nDx7wuEqKST-pSA-8FcJT2f-cLg”}, INAPP_DATA_SIGNATURE=mp40CkUuS7CE93HpNn23bJ9pbnxCOFL0dOspq5ugVRtq3S+3JD+wAajUoQJi5nHk7IMrwwkuz/4jid/hFEXwbcxJWusFFnxkW0tuuaD1qypkCUs7Kj5i/B46k21y3gU3ZhaCBcA03LXbUwXYJ650naDS+MHXrFxukW3PBCGEAkvYOAhYuG1QYFwo+8HVNTmyoK0I58oYtGpGdadedrpwG1jEh/eaYaoI/cFUr2zQAMS4qcsXI91VoEP2t1itjmYaZD4lhiZ9CfudmejAiSUuroxncpbj1ipqxMn5oZXWADP6msIZf7uK4os1wxGPBkuExYYi/+Spb06VZZQdFICZpQ==, RESPONSE_CODE=0}]
I/UnityIAP(11859): Expected item type: inapp
I/UnityIAP(11859): onIabPurchaseFinished: true
I/UnityIAP(11859): Success (response: 0:OK)
And it goes to notify Unity:
I/UnityIAP(11859): NotifyUnityOfPurchase
D/InputDispatcher( 907): Focus left window: 10520
D/InputDispatcher( 907): Focus entered window: 11859
Then, later on, I see this:
W/AppOps ( 907): Bad call: specified package com.triplefun.Masters under uid 10027 but it is really 10237
Is this related or unrelated? I’ve attached the full adb log of the part in question if it highlights anything.
Thanks
2630690–184906–adb_log_unity_iap.txt (57.8 KB)