H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Sep 24, 2022 #1 Q1: According this link isautorenewing returns true if subscription state is Active or in Grace period. What isautorenewing return in expired state and other states of N/A? in their documentation they are N/A, in our library what will be returned? Q2: Billing.ConnectIfNeeded method return true also in offline mode, so that is mean for Billing.QueryPurchases is cached in device! If purchase is 1 month subscription, subscriber elapsed 1 month and still no internet connection, What isautorenewing return?
Q1: According this link isautorenewing returns true if subscription state is Active or in Grace period. What isautorenewing return in expired state and other states of N/A? in their documentation they are N/A, in our library what will be returned? Q2: Billing.ConnectIfNeeded method return true also in offline mode, so that is mean for Billing.QueryPurchases is cached in device! If purchase is 1 month subscription, subscriber elapsed 1 month and still no internet connection, What isautorenewing return?
Erel B4X founder Staff member Licensed User Longtime User Sep 25, 2022 #2 A1: This method returns a boolean value. I'm not sure what they mean with N/A but it can either return True or False. No other value. Purchase | Android Developers developer.android.com A2: You will not be able to get the status at all. You cannot call QueryPurchases if ConnectIfNeeded failed. Upvote 0
A1: This method returns a boolean value. I'm not sure what they mean with N/A but it can either return True or False. No other value. Purchase | Android Developers developer.android.com A2: You will not be able to get the status at all. You cannot call QueryPurchases if ConnectIfNeeded failed.
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Sep 25, 2022 #3 Erel said: A2: You will not be able to get the status at all. You cannot call QueryPurchases if ConnectIfNeeded failed. Click to expand... What you mean? through error? Upvote 0
Erel said: A2: You will not be able to get the status at all. You cannot call QueryPurchases if ConnectIfNeeded failed. Click to expand... What you mean? through error?
Erel B4X founder Staff member Licensed User Longtime User Sep 27, 2022 #4 You cannot call QueryPurchases if ConnectIfNeeded failed. Upvote 0