-
Notifications
You must be signed in to change notification settings - Fork 123
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
[Feature] Integrate 3DS2 as a static framework within the Checkout SDK #1500
Comments
Hi @LauraBejan-Nestle |
Hello @erenbesel, I have tried the approach you recommended, but, unfortunately, it's not what I need. I need to have access to DropInComponent which is exposed in AdyenDropIn. |
Also experiencing this exact issue unfortunately (with SDK 5.6.0)... @LauraBejan-Nestle Have you been able to find a solution or workaround? @erenbesel Any chance you can look into this? With Laura's repo you should be able to reproduce the issue. Help would be greatly appreciated, as we're dealing with a deadline. |
Thanks for the sample app it helps to see the issue.
I don't think you can create a static framework to wrap a framework which dynamically links to another. Suggestions:
|
Hello,
Thank you for the response. We discussed internally when the issue was raised and we also went with solution 2, creating a fork and removing any reference we do not need.
A solution from your side would be to support both statically and dynamically linked from within your own package by creating 2 different targets.
For now this is ok as we fixed the blocking issue with the fork.
|
@robertdalmeida Thanks for your response. I don't think solution 1 will actually work. In our project (and the sample app), the wrapper framework is already dynamically linked to the main app. As @LauraBejan-Nestle suggests, please offer both a static and dynamic target in the adyen-ios SPM package. This is supported by many SPM packages (see screenshot for an excerpt from our dependencies) and would make the Adyen DropIn usable for our project. |
Describe the bug
We are trying to build a host app that consumes a framework that will consume the Adyen package.
Host App -> Framework A -> Adyen-ios (Adyen and AdyenDropIn - the one that's crashing).
Unfortunately, at runtime, the app crashes with the error described in the screenshot below.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Between Framework A and Adyen-ios the linkage should be static and the app should not crash.
Screenshots
Environment
Additional context
The behaviour described above happens only when running the app on device, the simulator does not encounter any issues.
The issue does not reproduce when Adyen package is imported directly in Host App.
The text was updated successfully, but these errors were encountered: