Skip to content

android/play-billing-samples

Repository files navigation

Google Play Billing Samples

Sample applications for Google Play Billing. To build each sample, see the README instructions in the project directory.

  • [Last Updated: May 2021] Trivial Drive Java - Purchase items/subscriptions in your Android app (serverless).
  • [Last Updated: May 2021] Trivial Drive Kotlin - Purchase items/subscriptions in your Android app (serverless).
  • [Last Updated: May 2023] Classy Taxi Kotlin App - Purchase subscriptions and one-time products in your Android app and manage them on your server.
  • [Last Updated: March 2022] Classy Taxi Java App - Purchase subscriptions in your Android app and manage subscriptions on your server.
  • [Last Updated: May 2023] Classy Taxi Server - Manage subscriptions and one-time products on your server.

Google Play Billing

For more information about Google Play Billing, see the documentation.

CHANGELOG

  • 2023-05-23
    • Updated Classy Taxi Kotlin sample to Google Play Billing Library v6.
    • Implemented consumable one-time products into the Classy Taxi Kotlin sample.
  • 2022-05-11
    • Updated Classy Taxi Kotlin sample to Google Play Billing Library v5.
  • 2021-05-18
    • Updated all samples for Google Play Billing Library v4.
  • 2021-04-28
    • Publish TrivialDriveJava : Billing Library Java sample for purchases.
    • Rewrite TrivialDriveKotlin : Billing Library Java/Kotlin hybrid sample for purchases, now supports billing ktx/coroutines.
  • 2020-02-28
    • Publish ClassyTaxiJava: Billing Library Java sample - currently only supports subscriptions.
  • 2019-12-30
    • Restructure ClassyTaxi to separate Android, web, and server implementations.
      • The ClassyTaxi Android app now lives here.
      • The ClassyTaxi read-only web app now lives here.
      • The ClassyTaxi server implementation now lives here.
  • 2019-10-10
    • Remove apps that do not support Google Play Billing Library 2.0 or newer. The AIDL and older versions of the Google Play Billing Library are deprecated. The old samples are available on GitHub at the following links:
  • 2019-01-16
    • Publish TrivialDriveKotlin: Kotlin sample
  • 2018-05-03
    • Publish ClassyTaxi: Subscriptions sample
  • 2017-07-12
    • Publish TrivialDrive_v2: Billing Library 1.0 sample
  • 2015-09-18
    • Initial repo port to GitHub
    • TrivialDrive: AIDL sample