adyen-ios
adyen-ios copied to clipboard
Xamarin support?
Hello,
We are trying to integrate Adyen into our apps and while on Android it was fairly easy the iOS is very problematic. Did you consider creating Xamarin bindings for this SDK or at least exporting swift components to objective-c because Xamarin as of now does not support swift libraries. We will either have to modify the code or jump somewhere else altogether. :(
Hi @Drutol,
There are currently no plans to offer Xamarin bindings or expose the pure Swift components to Obejctive-C. In order to use the SDK with Xamarin, you'd have to write the Swift -> Objective-C bridge yourself. An example of that is shown in the Examples folder.
Kind regards,
Joost
Hi @Drutol
I also facing this problem, can you share your work on Xamarin binding or a guide to get this done??
Thank you very much!
Hello @siuhleung7
I'm in charge of Android version so I can't comment much on iOS, as far as I know my colleague made bridge in swift exporting needed stuff. There were tons of issues to the point we had to incorporate LFS to our git repository for all dylibs. There should be Adyen Xamarin Library for iOS at least, we can get it to work on Android very easily but iOS is just.... ugh...
In the end it works, it's pure pain though...
Thank for reply @Drutol
I will very happy if your colleague can share his work on GitHub... Yes, It is really painful and no appropriate guide to follow.
Hi @joostvandijk
Could you consider to give us a help to provide a Adyen Xamarin Library for iOS or at least a guideline to get this done?
Xamarin binding library for this library is ready for use on Nuget.org.
@joostvandijk I think Xamarin should be done by community, however, Objective-C must be supported natively instead of adding extra bridging code.
Hi, we use binding like this: https://github.com/aalvarez255/xamarin-adyenCSE-binding its <NativeReference Include="Native References/AdyenCSE.framework"> it was working and stopped, we are getting on construction of ADYCard: System.Exception: Could not create an native instance of the type 'AdyenCSE.iOS.ADYCard': the native class hasn't been loaded. It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false. with ThrowOnInitFailure false we have information on SuperHandle: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'ADYCard'.
Any idea what could happened?
Hi @WSudolPGS,
We are not involved with the Xamaring binding. If you have any issues, it would be best to contact the maintainer of that repository/post an issue there.
Another voice from me for Xamarin.iOS support on Adyen - you are the only provider with perfect use case coverage for us, but the lack of officially maintained at least Xamarin bindings library is a show stopper.
@WSudolPGS Did you make it work?
I Have another issue where on encrypting Credit Card I have console messages as follows:
result = -25300 Adding PublicKey to Keystore with fingerprint: MTAwMDF8QzQ0NUU5RkExO****** result = -34018 result = -25300 Problem obtaining SecKeyRef
Any thoughts?
@tuyen-vuduc Any chance to update Nuget NAXAM.Adyen.iOS lib to the lates?
Guys, did anyone manage to create the iOS binding?
My binding is in error when sending to Test Flight
Hi @douglasilva
Unfortunately, we can't actively help you with this, but feel free to share your issues here - maybe I or someone from the community will be able to help/advice.