Why are there two versions of TrivialDrive?
https://github.com/googlesamples/android-play-billing
Which version should be the main reference project for learning in-app billing? What's the difference between the versions?
Why are there two versions of TrivialDrive?
https://github.com/googlesamples/android-play-billing
Which version should be the main reference project for learning in-app billing? What's the difference between the versions?
TrivialDrive_v2 demonstrates a new way of integration with Google Play Billing.
It's based on the latest release of Play Billing library (currently 1.0) and tries to promote the best practices of integration with it.
TrivialDrive sample was kept for those that still use an integration via AIDL file (e.g. C++ developers).
Trivial Drive V2 is refreshed sample for new release of Google Play Billing Library. See that link: https://android-developers.googleblog.com/2017/06/money-made-easily-with-new-google-play.html