Revenue cat Check user is still paying or not ?

Integrations

Hello everyone :)

I made an app, which does not have a login or sign up. I have free content and others that require a premium subscription. I created a page to subscribe, I installed revenuecat and in the ā€œPurchaseā€ I put that in case of purchase it puts a boolean in appstate ā€œUserPremiumā€ on TRUE.

Suddenly the app opens all the content. So far everything is fine, but I was wondering if the user stops his subscription, since I created an appstate he will always have premium access… Do I need to put a function that checks his subscription? how would you proceed and with which function? I can't find the good functiun in revenuecat or flutterflow docs.

You check every month if it's monthly based ? or maybe i should not use an appstate to make this ?

thank you very much for your help šŸ™‚

Valentin

What have you tried so far?

I didn't found the right functiun, i thought of a restore purchase functiun and see if it's return true or false, but there is no action output there ...

Did you check FlutterFlow's Documentation for this topic?
No
1
2 replies