android-inapp-billing-v3 icon indicating copy to clipboard operation
android-inapp-billing-v3 copied to clipboard

Billing Library version 3 or newer.

Open yasdeveloper opened this issue 3 years ago • 41 comments

Reminder: Starting on August 2, 2021, all new apps must use Billing Library version 3 or newer. By November 1, 2021, all updates to existing apps must use Billing Library version 3 or newer. Learn more.

yasdeveloper avatar Feb 16 '21 09:02 yasdeveloper

Joining the question! Need release

mrgallme avatar Feb 17 '21 05:02 mrgallme

Joining Please upgrade

imayka avatar Feb 17 '21 07:02 imayka

Joining Please~~

mcsong avatar Feb 18 '21 01:02 mcsong

please upgrade.

paktech1 avatar Feb 18 '21 10:02 paktech1

Same warning. Pls upgrade library

conanlovevit avatar Feb 22 '21 08:02 conanlovevit

Joining please.

kzlsnn avatar Feb 25 '21 09:02 kzlsnn

Please upgrade!

rajkumar02 avatar Feb 27 '21 19:02 rajkumar02

@serggl wake up bro

cellojaan avatar Feb 28 '21 15:02 cellojaan

Please update v3 soon..

jatin-lakhani avatar Mar 01 '21 05:03 jatin-lakhani

following

craigchiang avatar Mar 02 '21 00:03 craigchiang

Me too following

lau1944 avatar Mar 02 '21 06:03 lau1944

+1

Desintegrator avatar Mar 02 '21 08:03 Desintegrator

It will be great 👯‍♀️

AroundPixels avatar Mar 02 '21 15:03 AroundPixels

Joining the question! Need release

AhmadSaeed68 avatar Mar 02 '21 18:03 AhmadSaeed68

Pls upgrade library

yasirabid96 avatar Mar 02 '21 18:03 yasirabid96

Joining the question! please update

ShaheryarMalik007 avatar Mar 03 '21 07:03 ShaheryarMalik007

+1

VittoriDavide avatar Mar 03 '21 09:03 VittoriDavide

+1

devravi avatar Mar 03 '21 13:03 devravi

I have made an Android Library to manage Google Play Billing, In App Purchases and Subscriptions with just a few lines of code. Check it out and be sure to star the project if you liked my contribution :)

https://github.com/akshaaatt/Google-IAP

akshaaatt avatar Mar 04 '21 12:03 akshaaatt

+1

conanlovevit avatar Mar 08 '21 08:03 conanlovevit

+1

BilalRammal avatar Mar 09 '21 01:03 BilalRammal

Please update +1

thezeeshan92 avatar Mar 09 '21 13:03 thezeeshan92

+1

needz avatar Mar 09 '21 16:03 needz

IMO, this library isn't needed anymore. Google Play billing v2 offered a very low-level AIDL, but v3 offers a Kotlin/Java API. The AIDL API required a lot of boilerplate code for handling raw data and making requests. The Kotlin/Java API offered by v3 takes care of that, which is also one of the pain points that this library addressed for v2. Unlike v2, v3 also queries Play Store's cache on querying purchases. A major chunk of this library was dedicated to maintaining this cache.

The v3 library doesn't address verifying purchases. You can copy-paste the Security class for that. Your licenseKey is the public key for verifying purchases. productId, purchaseData and dataSignature are returned by Purchase#getSku(), Purchase#getOriginalJson() and Purchase#getSignature() respectively.

https://github.com/anjlab/android-inapp-billing-v3/blob/23b702219e7449e99ba94ace21cbe2cdb6eb6e8d/library/src/main/java/com/anjlab/android/iab/v3/BillingProcessor.java#L173-L177

https://github.com/anjlab/android-inapp-billing-v3/blob/23b702219e7449e99ba94ace21cbe2cdb6eb6e8d/library/src/main/java/com/anjlab/android/iab/v3/BillingProcessor.java#L1009-L1024

On a side note, you are now required to either acknowledge or consume all purchases. You also need to handle pending purchases that may transition to the purchased state while the user is away from your app.

ashutoshgngwr avatar Mar 15 '21 06:03 ashutoshgngwr

After trying to make this project compatible with v3, I gave up and using only the v3 itself, It is not complicate to use, you can follow this sample https://medium.com/@programtown/how-to-make-in-app-purchase-in-android-using-google-play-billing-library-updated-library-3-0-1-72e0b1fd43d5 or more advance sample of Google ClassyTaxiJava https://github.com/android/play-billing-samples/blob/main/ClassyTaxiJava/app/src/main/java/com/sample/android/classytaxijava/billing/BillingClientLifecycle.java , change the BillingClient.SkuType.SUBS to BillingClient.SkuType.INAPP for use with non subscription

dzungpv avatar Apr 03 '21 03:04 dzungpv

Please upgrade

nukix avatar Apr 06 '21 07:04 nukix

thanks to @dzungpv i was able to update my library to 3.0.1, still testing, will comment after testing.

paktech1 avatar Apr 12 '21 06:04 paktech1

Android Billing Library v-4+

Source Code :- https://github.com/Mahadev-code/Android-inApp-Billing

Source code also tested on Google Play store

Demo App :- https://play.google.com/store/apps/details?id=com.shiv.shambhu

ghost avatar Apr 13 '21 10:04 ghost

Bump, Please update

wicaodian avatar Apr 28 '21 10:04 wicaodian

Any idea what to do? It seems that there won't be any update.

Cand3h avatar May 08 '21 16:05 Cand3h