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
What is the correct way to detect when a drop in component is dismissed after being presented in SwiftUI (using the helper in AdyenSwiftUI/ViewControllerPresenter)
I have hit an error in code where the system wouldn't allow presentation of the loading state I use to continue the purchase flow because there is already a view presented. From debugging via breakpoints I can see that AdyenSessionDelegate.didComplete is called while the view is still on screen
This is much easier to hit while testing 3ds flow in a test environment btw (i.e. with the full screen fake banking page presented)
Is there another delegate callback or some other hook I can use to know when the dismissal of the drop in components view(s) has completed?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What is the correct way to detect when a drop in component is dismissed after being presented in SwiftUI (using the helper in
AdyenSwiftUI/ViewControllerPresenter
)I have hit an error in code where the system wouldn't allow presentation of the loading state I use to continue the purchase flow because there is already a view presented. From debugging via breakpoints I can see that
AdyenSessionDelegate.didComplete
is called while the view is still on screenThis is much easier to hit while testing 3ds flow in a test environment btw (i.e. with the full screen fake banking page presented)
Is there another delegate callback or some other hook I can use to know when the dismissal of the drop in components view(s) has completed?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions