Questions tagged [android-billing]

Android In-app Billing is a Google Play service that lets you sell digital content from inside your applications.

You can use the service to sell a wide range of content, including downloadable content such as media files or photos, virtual content such as game levels or potions, premium services and features, and more. You can use In-app Billing to sell products as:

Standard in-app products (one-time billing), or

Subscriptions, (recurring, automated billing)

Useful links

475 questions
0
votes
1 answer

How to override a SKProduct (subscription) with a free-trial option to be disallow free-trial and be billed immediately?

I have a cross-platform application and want to introduce auto-renewing subscriptions. However, since the app is cross platform, I have set-up subscriptions with free trials on iOS and Android using StoreKit and Billing. Consider this scenario: A…
Aswath
  • 1,236
  • 1
  • 14
  • 28
0
votes
1 answer

Compilling GodotGooglePlayBilling 1.1.2 for Google billing library Version 4 for Godot

From what I have been able to investigate I need version 1.1.2 of the GodotGooglePlayBilling.1.1.2.release.aar file to be able to use version 4 of the google payments library, but in the official GitHub version there is only…
0
votes
1 answer

Android Sandbox returns no data when a subscription is active

I'm working on a Flutter application & using the latest version of in_app_purchase to manage In-App Purchase Subscriptions. I can make a successful subscription purchase & I can get the data needed to store a server-side receipt. A scenario I am…
Luke Irvin
  • 1,179
  • 1
  • 20
  • 39
0
votes
1 answer

Is it valid to design a custom subscription cancelation flow in-app?

Will any policy violate if I integrate purchase cancelation flow? Flow: https://drive.google.com/file/d/19a0AJaAvuGEjKsE0AD_H5oYrIcWCIupA/view?usp=sharing Detail Explanation Suppose a user has purchased a 1-month subscription. At that time Manage…
0
votes
0 answers

Problem with Recyclerview not always loading items

Greetings to all the experts. I have the following problem, I have implemented Billing Subscriptions in Android, the code works well, the problem is that the Recyclerview sometimes loads and many others it doesn't, sometimes it loads first,…
aAaDesigner
  • 21
  • 1
  • 5
0
votes
1 answer

Android Google Billing Library is not returning products

My app uses Google Billing Library and it worked fine with my debug builds. I was able to retrieve products and buy products with my licensed testers without having any issues. Then I released the signed apk to the internal testers but the Google…
0
votes
1 answer

Handling subscription canceling in my app from Google Play

Currently I use a separate backend to acknowledge purchases (Subscriptions & One-time products) made from Google Play. But when a user cancels a subscription from Google Play app, and leaves my app in background, there is no way for me to know that…
0
votes
1 answer

Why does my Real Time Developer Notification POST received by my back-end server for a test subscription purchase from my app have an empty body?

I have set up my app to include purchasing a subscription as detailed here. I have implemented the appropriate code to validate the POST sent by Google to my back-end server using an approach similar to the one discussed here. Sending a test message…
tfrysinger
  • 1,306
  • 11
  • 26
0
votes
0 answers

Google Play won't install app for my customers. Is it Anomalous Permission issue? com.android.vending.BILLING

I tried to make a very small fix to one of my Android apps last week. Google Play said I couldn't upload the change because we were using the old in-app purchase library. I updated to the new v4 BillingClient library and submitted the app, but now…
Kenny Wyland
  • 20,844
  • 26
  • 117
  • 229
0
votes
1 answer

RecyclerView billingClient: No adapter attached; skipping layout, Sometimes it works, sometimes it doesn't

first time I use billingclient, but I have a problem, by the console it gives me the error: RecyclerView billingClient: No adapter attached; skipping layout and sometimes it loads the RecyclerView and sometimes it doesn't, that is, I enter the…
aAaDesigner
  • 21
  • 1
  • 5
0
votes
1 answer

All codes are not executing inside SkuDetailsResponseListener

I am trying to use IN-APP purchasing but I can't deal with querySkuDetailsAsync method. All code works well but inside SkuDetailsResponseListener only the first 2 line of codes are executing, namely itemInfo and textProduct.text are executing. fun…
0
votes
1 answer

Android Billing Library v4 does not return SKU details

I have an Android app that's already published on Google Play. I am now trying to update the Billing Library from v2 to v4. Connection to Google Play works fine; however, getting SKU details with BillingClient#querySkuDetailsAsync does not return…
0
votes
0 answers

Check if a user ever had subscription in Android

I have an Android application with subscription. How can I know that a user had ever used the subscription or the trial period?
0
votes
0 answers

How to convert Play Store API calls to suspend functions

Converting my own http calls to KTor (& therefore coroutines) is a bit hollow, or at least not terribly satisfying, without also being able to convert Play Store API calls and their callbacks to use suspend functions. This general answer, with…
Markers
  • 328
  • 1
  • 13
0
votes
1 answer

Error: Could not resolve all dependencies for configuration ':_x86_64DebugApkCopy'

I know this question has been asked a dozen of times, but it seems that my problem is a little bit specific. My problem is that when running cordova build android I am facing the following: This seems to be related to the plugin…
Joey
  • 511
  • 6
  • 20