Testing In App Billing the Easy Way
summary
Google Play testing is slow and limited: test subscriptions renew six times and durations compress to about 3–30 minutes so a yearly cycle can take 3.5 hours to exercise. BillingX is a debug-only library from Pixite that replaces the Play BillingClient via a simple factory to return a debug billing client, exposes a pluggable billing store (default: shared prefs billing store) to seed inventory and mutate purchases locally, and keeps release builds talking straight to Google Play. It works in production parity and is at v0.8 on GitHub.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:52Origins of in-app billing
- 3:59Play billing library
- 4:42Testing in-app billing
- 5:04Static SKUs explained
- 8:41Limitations of static SKUs
- 10:07Test accounts overview
- 12:36Test account challenges
- 17:33Google’s testing solutions
- 18:36The testing gap
- 19:17Goals for a new solution
- 21:03Introducing BillingX
- 22:45Integrating BillingX
- 24:32Billing client factory
- 26:41Managing inventory
- 29:48Billing store flexibility
- 31:11Seamless user experience
- 32:57Summary and demo
related talks
44mTaking your users’ money: In-app billing from start to best practices
49mTaking your users’ money: In-app billing from start to best practices
44mThe State off in app purchases on Android
46mA deep dive into
30mWhat's new with Play Billing
34mAbusing Google Play Billing for fun and unlimited credits!
36mGrow and optimize your subscriptions with new Google Play features
26mRegister - Better In-app-building testings on Android
