play-billing-library

How to check purchase state of subscription in all new Play Billing Library?

我是研究僧i 提交于 2019-12-04 15:47:01
问题 Hi am using new Play Billing Library for in app subscriptions. https://developer.android.com/google/play/billing/billing_library.html Everthing works perfect and am able to subscribe the product. But i didn't find any ways to check the purchase state of subscription. I mean whether it is active or expired. In the documentation it says : You can then call a variety of methods on the Purchase object to view relevant information about the item, such as its purchase state or time. But there is no

How to check purchase state of subscription in all new Play Billing Library?

亡梦爱人 提交于 2019-12-03 09:07:20
Hi am using new Play Billing Library for in app subscriptions. https://developer.android.com/google/play/billing/billing_library.html Everthing works perfect and am able to subscribe the product. But i didn't find any ways to check the purchase state of subscription. I mean whether it is active or expired. In the documentation it says : You can then call a variety of methods on the Purchase object to view relevant information about the item, such as its purchase state or time. But there is no purchase state method in Purchase Object, check link below https://developer.android.com/reference/com

Why is the Google Play Billing Library not shown up in the SDK Manager?

只愿长相守 提交于 2019-11-26 17:16:01
问题 I'd like to make an android application with in app purchases, I read often that I have to download the Google Play Billing Library from SDK Manager (e.g. http://www.techotopia.com/index.php/An_Android_Studio_Google_Play_In-app_Billing_Tutorial#Installing_the_Google_Play_Billing_Library ), but I can't find it there. Does I need this file? If yes, how can I manage that it is shown to me? On the developers.android webside is nothing written of the Google Play Billing Library, but if I copy