You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.
There are a lot of things that can contribute to things not working. Having a very basic understanding of your environment will help us understand your issue faster!
Environment
Flutter 3.16.9
purchases_flutter 6.20.0
iOS
Every time
Steps to reproduce
Login user A, buy a subscription
Login user B, buy a subscription without changing Apple ID (or sandbox user)
User sees a native iOS dialog
Logs says RevenueUI returned a PaywallResult.cancelled
Expected
RevenueUI should return a PaywallResult.error
Actual
RevenueUI should return a PaywallResult.canceled
Describe the bug
We're using the latest version of RevenueCat UI SDK that has the presentPaywall() method
We're limiting users to one user account == one Apple ID account, therefore the user sees the error below:
However, although the message on the iOS dialog is correct, the Future<PaywallResult> is PaywallResult. canceled, which is incorrect because we expect that the .cancelled is only used when the user cancels the flow
And, we needed to handle error states better in the app
The text was updated successfully, but these errors were encountered:
Hi, we're doing a review through our system and found that this was never answered. Are you still experiencing this issue? This is currently on our backlog, I can update here when it has been fixed.
Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.
There are a lot of things that can contribute to things not working. Having a very basic understanding of your environment will help us understand your issue faster!
Environment
Steps to reproduce
PaywallResult.cancelled
Expected
PaywallResult.error
Actual
PaywallResult.canceled
Describe the bug
presentPaywall()
methodFuture<PaywallResult>
isPaywallResult. canceled
, which is incorrect because we expect that the.cancelled
is only used when the user cancels the flowThe text was updated successfully, but these errors were encountered: