android-billing

android in app billing purchase verification failed

十年热恋 提交于 2019-11-27 10:34:21
问题 i' having trouble implementing in app billing in my android app. i'm getting a purchase signature verification failed. In a first time i tough it was the base64 key but i checked it many times and i'm still getting the error, then after i took a look at the Security.java file and i found this method which i edited for get some informations about what was wrong: public static boolean verifyPurchase(String base64PublicKey, String signedData, String signature) { if (TextUtils.isEmpty(signedData)

Calling startIntentSenderForResult from Fragment (Android Billing v3)

淺唱寂寞╮ 提交于 2019-11-27 03:37:07
The new Android Billing v3 documentation and helper code uses startIntentSenderForResult() when launching a purchase flow. I want to start a purchase flow (and receive the result) from a Fragment . For example the documentation suggests calling startIntentSenderForResult(pendingIntent.getIntentSender(), 1001, new Intent(), Integer.valueOf(0), Integer.valueOf(0), Integer.valueOf(0)); and the helper code calls mHelper.launchPurchaseFlow(this, SKU_GAS, 10001, mPurchaseFinishedListener, "bGoa+V7g/yqDXvKRqq+JTFn4uQZbPiQJo4pf9RzJ"); which calls startIntentSenderForResult() . The problem is, calling

Calling startIntentSenderForResult from Fragment (Android Billing v3)

核能气质少年 提交于 2019-11-26 10:34:51
问题 The new Android Billing v3 documentation and helper code uses startIntentSenderForResult() when launching a purchase flow. I want to start a purchase flow (and receive the result) from a Fragment . For example the documentation suggests calling startIntentSenderForResult(pendingIntent.getIntentSender(), 1001, new Intent(), Integer.valueOf(0), Integer.valueOf(0), Integer.valueOf(0)); and the helper code calls mHelper.launchPurchaseFlow(this, SKU_GAS, 10001, mPurchaseFinishedListener, \"bGoa