Please enable JavaScript.
Coggle requires JavaScript to display documents.
Google Billing (Architecture (Why do we wrap BillingClient? (BillingCodes…
Google Billing
Architecture
How original SDK looks like?
Why do we wrap BillingClient?
BillingCodes are mixed
The callbacks are not interconnected.
RxJava + ViewModel + LiveData
Separation on the Page objects
Improvements
Improved WebView experience
Add support for the webview errors
Security
Patch to guard against MITM
Limited AnemicDomainModel
Challenges
Every call is a potential error?
Tricky to test
You need to be a tester
You need to be included to receive TEST license response
The end result
Show happy path
Show error case