Skip to content

A simple Android library for integrating the Android Billing API

License

Notifications You must be signed in to change notification settings

rjsuzuki/billingz

Repository files navigation

Billingz

This is an opinionated, but convenient library for implementing Android's Google Play Billing Library and/or Amazon Appstore's In-App Purchasing API. Through a combination of Adapter and Facade design patterns, this library allows a project to integrate both billing libraries without explicit references to either, reduces the amount of needed code for integration, and speeds up development environments.

  • Supports Android's LiveData and Lifecycle components
  • Supports Kotlin Coroutines and Flow build_and_publish

Currently supports up to:

  • google billing: 7.0.0
  • amazon in-app: 2.0.76 (v2.0.6)
  • amazon appstore sdk: 3.0.4 (v2.1.0+)

Version History

Release History and Notes

Documentation

Requirements

  • minSdk = 21
  • compileSdk = 31
  • targetSdk = 31

Testing your integration

  1. Review the Android documentation for testing in-app billing here
  2. Sign into your Google Play Developer Account and setup application licensing
  3. In Play Console > navigate to Settings > Account details > "License Testing" > add your testers Gmail address > Save

Permissions

Declared permissions in the AndroidManifest file.

  • com.android.vending.BILLING (only for Google Play)
  • android.permission.ACCESS_NETWORK_STATE

Changelog

Bug Reporting

  • Create an Issue through the repository's github Issues page.

Special Acknowledgements

Licensing

Apache License 2.0 The complete license can be found in the LICENSE.md file in the root directory of this project.

Copyright (c) 2021 rjsuzuki

About

A simple Android library for integrating the Android Billing API

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages