Closed Geoffrey63 closed 1 year ago
Hello @Geoffrey63, Does your paywall have a flow? I mean, does a paywall opens another paywall before purchasing something? This issue happens in those cases. we've fixed it and will be available in our next release.
Hello, our paywall doesn't open another paywall but it opens a modal webview for the user login. Once user is logged in, calling the onProcessAction causes the crash.
Did you close your webview before calling onProcessAction
?
Yes, the webview is closed when the onProcessAction is called.
Does the paywall has been closed before displaying your webview? You should try to call closePaywall()
before displaying your webview.
I tried to close the Paywall but i've still have a crash.
The use case is the following :
It has been fixed.Available in next release
Great, thank you @mlanoy1 🙏🏻
On version 2.6.8, I encounter the following crash when I press the purchase button in some conditions :
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present modally a view controller <Purchasely.PLYProductViewController: 0x7fb5d80db400> that is already being presented by <UIViewController: 0x7fb5edf38140>.'
Crash occurs when i call the onProcessAction in the paywalInterceptorCallback :
The same code works fine on 2.6.6 version.