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.
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+)
- minSdk = 21
- compileSdk = 31
- targetSdk = 31
- Review the Android documentation for testing in-app billing here
- Sign into your Google Play Developer Account and setup application licensing
- In Play Console > navigate to Settings > Account details > "License Testing" > add your testers Gmail address > Save
Declared permissions in the AndroidManifest file.
com.android.vending.BILLING
(only for Google Play)android.permission.ACCESS_NETWORK_STATE
- Create an Issue through the repository's github Issues page.
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