Repository navigation
v2.0.0-alpha01
AdManageKit Release Notes
Version 2.0.0-alpha01 (Beta)
Released: July 8, 2025
What's New
- Google Play Billing Library Upgraded to Version 8:
- Updated the
ad-manage-kit-billingmodule to use Google Play Billing Library version 8, introducing support forPendingPurchasesParamsandenableAutoServiceReconnectionfor improved reliability. - Enhanced
AppPurchaseclass with thread-safe billing connection management usingAtomicBoolean. - Unified product details management with a single
productDetailsMapfor both in-app purchases and subscriptions, improving performance and consistency. - Improved error handling and purchase flow for in-app purchases and subscriptions, with detailed logging and listener notifications.
- Added support for subscription offer tokens and one-time purchase offer details, ensuring compatibility with the latest billing APIs.
- Updated the
- New Billing Methods:
- Added
queryProductDetailsto fetch product details for in-app and subscription products. - Enhanced
purchaseandsubscribemethods to support both in-app and subscription purchases with debug mode simulation usingPurchaseDevBottomSheet. - Added
getPrice,getPriceSub,getPricePricingPhaseList,getIntroductorySubPrice,getCurrency, andgetPriceWithoutCurrencyfor flexible price handling. - Introduced
setDiscountandgetDiscountfor managing discount values. - Added
verifyPurchasedandupdatePurchaseStatusfor robust purchase verification and status updates.
- Added
- Debug Mode Enhancements:
- Retained
PurchaseDevBottomSheetfor simulating purchases and subscriptions in debug mode. - Added test product (
android.test.purchased) automatically in debug mode for easier testing.
- Retained
- Breaking Changes:
- Deprecated
initBilling(Application, List<String>, List<String>),purchase(Activity), andgetPrice()to align with modern billing practices. UseinitBilling(Application, List<PurchaseItem>),purchase(Activity, String), andgetPrice(String)instead. - Removed unused fields (
K,L,q,s,t,w,x,y,z,A) fromAppPurchaseto simplify the codebase.
- Deprecated
- Known Issues:
PurchaseDevBottomSheetrequires verification for compatibility with Billing Library version 8.- Limited testing in production environments; beta testers are encouraged to report issues.
Upgrade Instructions
- Update your
build.gradleto include the beta version:implementation 'com.github.i2hammad.AdManageKit:ad-manage-kit:2.0.0-alpha01' implementation 'com.github.i2hammad.AdManageKit:ad-manage-kit-billing:2.0.0-alpha01'
Full Changelog: v1.3.2...v2.0.0-alpha01