Code Monkey home page Code Monkey logo

billingz's Introduction

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

billingz's People

Contributors

ratm avatar rjsuzuki avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

ratm

billingz's Issues

Add feature to enable universal app design

Universal APK = A single app that can be loaded on to either operating systems, Android or Fire OS.

Current state of the Bllingz library provides support for an "either or" scenario. Both packages can exist together in a project, but require Gradle build variants and/or a multi-module implementation.
If both Amazon and Google's billing libraries were to be compiled together, runtime checks would be required.

  • Updating the Core module should be sufficient.
  • Gradle updates for the build compilation can help accommodate this use-case.

add git hooks

git commit
git push

  • add CI testing, linting, and dokka file generation to github actions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.