A talk about Google Play Billing 2.0 that I gave at Droidcon London 2019.
Google's APIs and libraries used for in-app-billing users from inside of your app, are confusing at best. The new star on the horizon is Google Play Billing Library, centered around a BillingClient class. GPBL is supposed to make your life much easier - but does it really?
In this session, you will discover the infrastructure around Google Play Billing Library and its usage. You will briefly explore the setup and basic implementation patterns inside of your app and then look behind the scenes and into the internals and implementation of the library itself. This approach will help significantly in gaining a better understanding of the library developer's intent.
A part of the session will be a close look into and a discussion of the provided samples and the issues they pose. Looking at them with a critical eye it'll be possible to understand what the good and what the bad parts of GPBL are and how to structure your implementation the best way.