I'm new to the implementation of Google's Billing library and using this system to make subscriptions inside my app. My question is if a user created a subscription which has free trial, used it completely and cancelled the subscription. If the user try to subscribe again then will the Google play billing library system handles the free trial eligibility for that particular user or we need to handle it in our code.
Can you please suggest if there is any process to check if the user already availed his free trial? If so, then proceed with charging the user for the subscription trying to subscribe
SkuDetails.getFreeTrialPeriod()
... communicates to the user that they are ineligible for another free trial - how? The method returnsnull
? An empty string? Throws an exception? Or should the eligibility param be obtained through a different mechanism? – Playwright