you only check if user is subscribed on launch, what if user cancel subscription? it iwll check if user is subscribed until next hard app launch, do you check when app goes to background? or what if app purchase failed? or asked to pay? is there a lsitener?
I wonder, how do you get rid of the paywall after a purchase? I have that condition set on the purchase button, but now that the button is generated by Revenue cat, is the paywall automatically dismissed after the purchase?
on the PaywallView you can use .onPurchaseCompleted { customerInfo in } to check for the subscription and update all the code thats tracking premium subscribers and dismiss the paywall
@@jasondubon I had the same issue - you can slide the paywall up or tap on X and it closes it. Had to do a painful work around. My thing is I am offering a 7 - day trial within the app. So had to build a paywall view, a Subscription class and modify my HomeView. No fun.
thanks now the paywall can be closed even if user is not subscribed , how can I make the paywall not close until the user is subscribed so my contentview show only after the user is subscribed @@jasondubon