play-billing-library Questions

2

Solved

When updating the Google Billing Library to version 7 it marks the enablePendingPurchases() method as obsolete. Reading the documentation it seems we now need to pass a PendingPurchasesParams objec...
Churchwarden asked 10/6 at 18:38

4

How do you query a list of products from google play billing 5? From https://developer.android.com/google/play/billing/integrate#java, we query the details of a single product by passing the name o...
Gwyn asked 15/7, 2022 at 18:6

2

Solved

I am trying to integrate Google Play Billing. Here is my onCreate : private final static String TAG = "MainActivity" ; private final static String ITEM_SKU_SUBSCRIBE = "sub_example" ; private fin...

1

The Google Play Billing Library did not previously require the android.permission.INTERNET permission. In version 6.0, I can see from my merged manifest that now it does. Its source is the manifest...
Hospitable asked 7/10, 2023 at 2:11

6

On trying to migrate Google billing integration from version 4 to 5, I'm getting an error 'Client does not support ProductDetails' on calling queryProductDetailsAsync. List<QueryProductDetailsPa...
Malva asked 20/5, 2022 at 10:45

4

How do you get token of PurchaseDetails object in Android? Based on the docs, https://developer.android.com/google/play/billing/integrate#java, to launch a purchase flow we need to do something lik...
Pennyworth asked 18/7, 2022 at 18:44

10

Solved

I'm now using the new Play Billing Library Basically, I followed the documentation to query available items to purchase SkuDetailsParams.Builder params = SkuDetailsParams.newBuilder(); params.s...
Hygrothermograph asked 17/10, 2017 at 4:13

3

Solved

I have upgraded my Kotlin app to android-billing 5.0 from 4.0, and as such, SkuDetails is now deprecated so I am migrating to using ProductDetails using the migration instructions. Previously I dis...

4

Solved

So I have a billing client which I instantiate with billingClient = BillingClient.newBuilder(this).setListener(this).build(); I then call billingClient.startConnection(new BillingClientStateL...
Invasion asked 18/4, 2018 at 20:24

3

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 th...
Frequentation asked 20/6, 2022 at 19:46

2

Solved

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 Goo...
Footprint asked 16/6, 2020 at 2:59

3

Solved

In v4, I used to have SkuDetails.price to get the price of the product but now it's not available anymore in the new ProductDetails in v5. How can I get the price of a product in this new version? ...
Speos asked 19/6, 2022 at 17:31

3

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.IllegalState...
Ecstatic asked 14/4, 2020 at 20:53

1

Solved

How to find out if the user is eligible for Free Trial with Billing Library? In other words, how to find out that the user had not availed Free Trial before? I didn't find any API that would help t...
Marrowfat asked 18/5, 2022 at 10:36

1

Solved

In Google Play Billing Library 5 there are ProductDetais instead of deprecated SkuDetails. SkuDetails had freeTrialPeriod field which returned free trial of subscribtion. In ProductDetails I can't ...
Exaltation asked 15/6, 2022 at 14:12

2

Solved

In the old android billing implementation you would build an sku list to query products: List<String> skuList = new ArrayList<>(); skuList.add(SKU_POTION); skuList.add(SKU_SWORD); sk...
Uppish asked 26/5, 2022 at 18:48

1

I am using the Google Play Billing Library 5 and have a subscription product with different base plans. When processing the purchases in the PurchasesUpdatedListener or in the callback of queryPurc...

1

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 cas...
Whiteeye asked 28/5, 2022 at 11:15

4

Solved

I'm using the Play Billing Library in order to trigger and manage purchases which in turn unlocked extra functionality within an app. This part is working. However, what is the best way to 'resto...
Matheson asked 26/1, 2018 at 8:30

5

Solved

I implemented an In-App Purchase with the Play Billing Library 1.0 according to Google's tutorial. I have only 1 item for purchase and when it gets unlocked, I show a Toast message with the length ...
Antiphonal asked 21/9, 2017 at 12:7

3

When Uploaded App in Google play getting privacy issue in pre-launch report, how to get resolve this issue.
Hazlett asked 8/11, 2021 at 14:36

1

Context: We have a TV app that offers as its only in-app item a monthly subscription. I am mostly looking for confirmation of what I believe to be true: Since version 2.0 of the Google Play Billin...

0

I'm getting this crash only on some devices. This happens right when I try to build a new BillingClient. And I can't properly debug this issue since it doesn't happen on any of my devices. Again, t...

2

I'm using using Google's Billing Library 4. The documentation for BillingClient.launchBillingFlow says: Initiates the billing flow for an in-app purchase or subscription. It will show the Google P...
Hulton asked 17/8, 2021 at 23:30

2

I migrated Google Play Billing Library in Android Studio from 3.0.3 (was working fine) to 4.0.0. I've checked my Google Play Billing and all seems OK and the SKU status is ACTIVE (no red flags). I'...

© 2022 - 2024 — McMap. All rights reserved.