-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] TWINT Apps cannot be opened when adding payment method (Fatal error/Crash) #1902
Comments
Thanks for reporting @ast3150! Could you provide additionally the following:
TWINT test environment doesn't support iOS18 at the moment so we have limited means for investigation, just to set expectations it might take some time to sort it out. |
Sure, here you go. We import the Adyen and AdyenTwint library through Swift Package Manager. Both are added to the "Frameworks, Libraries and Embedded Content" section as normal libraries. Please note that after reinstalling the library and app, I am currently no longer able to reproduce a crash. However, there is also no progress after choosing the payment method: |
Thanks for logs provided, it helps to narrow down the root cause. As long as we cannot reproduce the crash, we can only have assumptions:
|
Hi @ast3150! Taking over @atmamont here. We’ve created a new branch (#1905) where the This update resolves the compatibility issue with iOS 18 caused by the deprecated However, due to limitations in Twint’s ability to provide a complete TEST environment, we have not been able to fully test the entire Twint payment flow. That said, we have successfully verified that the app-to-app switch functionality works with this update. We encourage you to try out this branch in the meantime while we continue working on verifying the full flow. Once the changes are thoroughly tested, we’ll include them in an official release. We apologize for any inconvenience caused by these third-party dependencies. If you encounter any issues, please let us know. Thank you for your understanding and cooperation! Disclaimer: Be aware this is not part of an official release, so keep in mind there can potentially be issues with the update that's why we encourage you to run test to make sure the whole Twint payment flow works as expected on iOS 18. |
Hi there. To answer the stuff above:
no, we have integrated Adyen before, but we're switching from the web-based flow to Adyen-twint-native now.
no, we don't use Twint SDK directly, only through Adyen
I didn't see any relevant non-error messages. We'll try out the provided feature branch, thanks! |
Hi @ast3150 Just wanted to let you know that we have been able to test the new update. Everything works fine and it will be included in our next release (v5.14.0) in the coming week. Thank you! P.S. We will keep this issue opened for now in case you wanna provide any feedback. By the time we release, we will close it. |
Describe the bug
When trying to register TWINT as a payment method, the application crashes with a fatal error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The application does not crash and the selection which TWINT app should be opened is presented.
Screenshots
n/a
Environment
Relevant source code
File/Line:
TwintSDKActionComponent.swift:105
Method:
public func handle(_ action: TwintSDKAction)
Line:
guard let firstApp = installedApps.first else {
Additional context
AdyenTwint.md
The text was updated successfully, but these errors were encountered: