How to know if a subscription status is active using "in_app_purchase" in Flutter?

Hi, I'm new to adding paid subscriptions using Flutter. I am using "in_app_purchase" and have managed to implement a code that lists all products, which works correctly. However, I have a question: How can I determine if a user has an active account?


I have 3 subscriptions with the names "m1", "m2" and "m3", respectively. My goal is that, in case any of these three active subscriptions are detected, the system will return "true". Could you give me some guidance on this, I appreciate your help!


3 Replies

PS Preethika Selvam Syncfusion Team January 16, 2024 12:27 PM UTC

Hi FisMatHack,


Greetings from Syncfusion. As the query is mentioned as general, we suggest that you contact the Flutter community through the following link.


Flutter Community - https://flutter.dev/community


Regards,

Preethika Selvam.



FI FisMatHack replied to Preethika Selvam January 16, 2024 05:47 PM UTC

Okey, thanks



PS Preethika Selvam Syncfusion Team January 17, 2024 11:57 AM UTC

Hi FisMatHack,


Most Welcome. Kindly get back to us if you have further queries. We are always happy to assist you.


Regards,

Preethika Selvam.


Loader.
Up arrow icon