Hi, I have aset up a subscription that has a trial in google. When I buy the subscription, for the first time, the trial is activated. But, when I cancel the subscription I and I buy it again the trial is no more activated. My question is if there is a way to know if a subscription was bought before to show a trial message in the UI or not. Thanks in advance
Hi, please, anyone knows how to do it? I need to know, before purchase the subscription, if a subscription has trial enabled. If I didn't use it before. Thanks in advance
Use the SubscriptionManager class. https://forum.unity.com/threads/improved-support-for-subscription-products.532811/
Hi, thanks for your answer I have tried that. But, I can get the subscriptionInfo because I don't have a receipt yet. I need to know if the isFreeTrial method is true or false before buying the subscription. Could it be possible? Thanks
You said you already purchased a subscription, the trial expired, and you're trying to purchase it again. You should be able to tell from the first purchase receipt what the status is. We don't provide inventory management at this time yet, but you could persist purchases in PlayerPrefs.
Also, this may help https://forum.unity.com/threads/google-play-introductory-pricing.536276/#post-4490617