eggheadgames / android-in-app-payments

Support Android Google Play and Amazon in-app billing (IAP) payments with one API
MIT License
58 stars 14 forks source link

Add onError callbacks for problems during init #12

Open mikemee opened 7 years ago

mikemee commented 7 years ago

A suggestion from #10

Create an onError callback for errors on the listeners, here:

https://github.com/eggheadgames/android-in-app-payments/blob/1.2.8/library/src/main/java/com/billing/google/GoogleBillingListener.java#L54

and here:

https://github.com/eggheadgames/android-in-app-payments/blob/1.2.8/library/src/main/java/com/billing/amazon/AmazonBillingListener.java#L59

mikemee commented 4 years ago

For now we have increased debug logging a lot throughout the library (from version 2.0.0)