KotBilling
A kotlin coroutine based solution for handling in app purchases for billing library version 7.
Features#
- exception save, each functions returns a non null sealed class / interface instance
- simple query function to query a product state:
val result = KotBilling.queryProducts(... products ...)
- simple purchase function to buy a product and acknowledge/consume it:
val result = KotBilling.purchase(actvity, product, offerToken)
Supported Platforms#
This is a plain android library.
Demo#
A full demo is included inside the demo module, it shows nearly every usage with working examples.
Info
But be aware, the demo app is not deployed on google play so it won't return any results - still it shows how to use the library.