Google-IAP icon indicating copy to clipboard operation
Google-IAP copied to clipboard

Identify when connect to billing service was a success.

Open paktech1 opened this issue 4 years ago • 4 comments

Kindly introduce some method to identify when connect to billing service was a success, or some method to test if billing is available.

paktech1 avatar Jul 17 '21 10:07 paktech1

Could you present a use case for this? I used to provide such methods but abandoned them because the library users expect the library to work and I make sure of it. The IAP just won't open if the connection hasn't been made and these are asynchronous processes.

akshaaatt avatar Jul 17 '21 11:07 akshaaatt

Could you present a use case for this? I used to provide such methods but abandoned them because the library users expect the library to work and I make sure of it. The IAP just won't open if the connection hasn't been made and these are asynchronous processes.

Your library always throws an exception in the purchase and subscribe both. D/GoogleBillingService: buy. Google billing service is not ready yet.

Please implement a method to at least acknowledge that the library has been initialized

bhavikmehta5491 avatar Jul 28 '21 11:07 bhavikmehta5491

@bhavikmehta5491 this lib is still beta. There are more problems than this.

@akshaaatt a use case would be to disable/enable a purchase button and to display the current, local price once it is initialized and ready.

d-schmidt avatar Aug 02 '21 12:08 d-schmidt

@d-schmidt that is what I exactly needed. Pull Request #68 makes it happen.

HRankit avatar Jan 12 '22 08:01 HRankit