Closed ghost closed 5 years ago
I created a DonationHandler which contains this code https://gist.github.com/mrgreaper/9747b72118f1e800953ee00b8af0007e
The xml for it just has one button.
Line 19: Log.d("IAP","READY") is never triggered leading me to believe the library is not activating correctly
Line 50: Log.d("IAP","loaded") does trigger
Line 52:Log.d("iap","CLICK") when the button is pressed
been trying to get IAP working all day (and most of the night) so I may be missing something obvious?
also does .price work with your library to get the price of an IAP ? (from https://developer.android.com/google/play/billing/billing_library_overview#kotlin)
Ok turns out the code does not work on an emulator...it does however work great on a physical device. Thank you for the library! (wonder how many times yesterday I had the code working but the emulator said no? O.o)
I created a DonationHandler which contains this code https://gist.github.com/mrgreaper/9747b72118f1e800953ee00b8af0007e
The xml for it just has one button.
Line 19: Log.d("IAP","READY") is never triggered leading me to believe the library is not activating correctly
Line 50: Log.d("IAP","loaded") does trigger
Line 52:Log.d("iap","CLICK") when the button is pressed
been trying to get IAP working all day (and most of the night) so I may be missing something obvious?
also does .price work with your library to get the price of an IAP ? (from https://developer.android.com/google/play/billing/billing_library_overview#kotlin)