GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - kazmi-dev/GoogleBilling: Simple billing v8.0.0 implementation for android kotlin.

BranchesTags
Open more actions menu

Latest commit

 

History

41 Commits
41 Commits

Folders and files

NameName
Last commit message
Last commit date
billing
billing
 
 
README.md
README.md
 
 

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

  • โœ… Two-way billing package -> DI & Object
  • โœ… 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 State Flows (products, billingEvents)
  • โœ… Built with Dagger Hilt for dependency injection
  • โœ… Support MVVM Architecture (viewModel & repository)
  • โœ… Support billing through Object

๐Ÿ“š Prerequisites

  • โœ… Billing Library
  • โœ… Dependency Injection (Dagger/Hilt)
  • โœ… NO Dependency Injection (Dagger/Hilt) with Util as an Object
  • โœ… Copy Paste package and use

With Di

Initialize viewModel to start billing connection automatically or inject billing repositoy in your Application class to start billing connection automatically and fetch, restore products automatically.

With Object

Initialize Billing util with initBillingClient() fuction in your application class to start billing connection, fetch and restore product purchase states.

About

Simple billing v8.0.0 implementation for android kotlin.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.