Skip to content

kazmi-dev/GoogleBilling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🧾 GoogleBilling β€” With Hilt + Without Hilt

A reusable, clean, and modern implementation of Google Play Billing using Kotlin, Dagger Hilt, and coroutines.
Supports one-time purchases (INAPP) and subscriptions (SUBS) with proper handling for purchase states, errors, and acknowledgment.


πŸ“¦ Features

  • βœ… Supports in-app purchases and subscriptions
  • βœ… Handles acknowledgment, pending, and already purchased states
  • βœ… Uses BillingClient with proper lifecycle handling
  • βœ… Coroutine-powered product querying
  • βœ… Plug-and-play callback interface (BillingPurchaseCallback)
  • βœ… Built with Dagger Hilt for dependency injection

πŸ“š Prerequisites

  • βœ… Billing Library
  • βœ… Dependency Injection (Dagger/Hilt)
  • βœ… NO Dependency Injection (Dagger/Hilt) with Util as an Object

About

Simple billing v8.0.0 implementation for android kotlin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages