glassfy / glassfy-flutter

Open source SDK to quickly integrate subscriptions, stop worring about code maintenance, and getting advanced real-time data. Javascript / iOS glue framework
MIT License
21 stars 4 forks source link

unsubscribe method #11

Closed g-apparence closed 1 year ago

g-apparence commented 1 year ago

Hi, Im' currently testing this well documented plugin. But there is something that I can't find anywhere.

How can we cancel a user subscription? I can't find any method or documentation for this.

g-apparence commented 1 year ago

Also could you tell me about "restorePurchases" It is the closest method of a subscription cancel I've found.

If we have a user that cancel a subscription after one year of use.

g-apparence commented 1 year ago

ok, I will answer for those who like me got used to do this from their Android device. Simply prefer use the launch_url plugin to redirect user to playstore or app store subscription management page.

Maybe this could be great and really easy to provide this directly into the plugin. The glassfy plugin is great! Some comments and doc in code could help and attract many more developpers.

marcopifferi commented 1 year ago

It is is not possible to programmatically cancel the subscription: the user needs to go to the play or App Store to cancel the subscription