Questions tagged [play-billing-library]

Anything specific to Google Play Billing library

This tag was created to ask questions and report feedback specific to Google's Play Billing Library.

260 questions
7
votes
0 answers

Google Play Billing 2.0 testing pending transactions and acknowledgement

I'm transitioning to Google Play Billing library v2.0.0 and there are two major flow differences. One is purchase acknowledgment https://developer.android.com/google/play/billing/billing_library_overview#acknowledge and the other is handling pending…
6
votes
1 answer

BillingClient Purchase.getProducts() returns multiple identifiers

Previously, to get the product id, the getSku() method was used, which returned singular value. In the 4.0.0 version of the BillingClient library, the getSkus() method was added…
AseN
  • 180
  • 1
  • 8
6
votes
3 answers

Android - Billing 5.0.0 - Data structure explanation?

I'm confused about the new version (5) of android billing library. I have a few subscriptions in my app and each one has a monthly cycle and a 2 weeks free trial. Now I want to show to the users the pricing details for my subscriptions. And when I…
6
votes
1 answer

Get specific offer from Purchase object Play Billing v5

How to identify the specific subscription offer from Purchase object in new Google Play Billing v5 library? I can get the product id but there seems to be now way get offer id or token? In that case how do I notify users if they wish to…
aryal
  • 61
  • 2
6
votes
3 answers

Google Play Pre-Launch Report Getting Security and Trust Anomalous Permission Usage issue on play billing library

When Uploaded App in Google play getting privacy issue in pre-launch report, how to get resolve this issue.
Sarath Kumar
  • 1,922
  • 3
  • 19
  • 43
6
votes
0 answers

Android Billing Client causes memory leak

Simple MainActivity for a new project public class MainActivity extends AppCompatActivity { BillingClient billingClient; PurchasesUpdatedListener purchasesUpdatedListener = new PurchasesUpdatedListener() { @Override public void…
6
votes
1 answer

Google Play Billing Library 3.0 Released. How to migrate from 2.2.0, any changes needed?

https://developer.android.com/google/play/billing/release-notes I have implemented in app purchases (non consumable one time purchases only) using the version 2.2.0 billing library. Now the latest update has come which provides AIDL migration guide,…
6
votes
2 answers

Google Play Billing test card still shows up after production

I have an app with in-app purchases which i used to test with the provided test card methods by google as shown here Google Play Billing Test However, after i published my app in production on Google Play, i still get the test card option. I can't…
6
votes
3 answers

Crash in Android BillingClient with coroutines

I'm getting notified that my Billing solution is crashing in a weird way. I'm unable to reproduce it or find a fix/bypass the problem. Maybe you could help. Fatal Exception: java.lang.IllegalStateException: Already resumed at…
Cativail
  • 1,040
  • 1
  • 9
  • 18
6
votes
1 answer

android ANR BillingClient.queryPurchases

I am using Google billing service, version 2.0.3. Running the BillingClient.queryPurchases method in the UI thread in the activity onstart method, users sometimes encounter Application Not Responding errors like this: THREADS: "main" prio=5…
6
votes
1 answer

querySkuDetailsAsync callback never called

I think to have followed all the steps correctly from the documentation but I can't reach the callback of querySkuDetailsAsync, no errors reported. The app is working correctly with IAB, now I'm only migrating from old library to the new…
6
votes
4 answers

skuDetailsList returning null

I am trying to implement in-app purchases using the latest Google Play Billing Library (2.0.1) • I've Added product Ids to the skuList and in the Google Play Console after publishing apk in Internal App Testing • But when I launch billingFlow I get…
Izhan Ali
  • 567
  • 7
  • 17
6
votes
1 answer

How to implement Android in app purchase in kotlin?

I want to implement Google Play's billing for my android app's in-app purchase, which is written in kotlin. I am following this tutorial. Here is my code: private lateinit var billingClient: BillingClient private lateinit var productsAdapter:…
6
votes
0 answers

How do I troubleshoot "Fatal error during the API action" (Response Code 6)

I have implemented the Play Billing Library, and it's overall been very successful - but it seems that a few calls to make a purchase (or get available products) fail w/ a Response Code 6 (Fatal error during the API action). No other information is…
jkane001
  • 1,694
  • 1
  • 15
  • 23
6
votes
3 answers

Why is the Google Play Billing Library not shown up in the SDK Manager?

I'd like to make an android application with in app purchases, I read often that I have to download the Google Play Billing Library from SDK Manager (e.g.…
1 2
3
17 18