Good Day everyone.. Does anyone know how to integrate adyen to React Native which works on both IOS and ANDROID.
Thanks in advance :)
Using the 'react bridge module'<React/RCTBridgeModule.h>
you are able to wrap native libraries into Javascript.
Using methods RCT_EXPORT_MODULE
and RCT_EXPORT_METHOD
you are able to wrap individual functions, with some degree of flexibility regarding naming and parameters.
React bridge module supports auto type conversion from the native code, making the wrapping of functions faster.
Documentation and example code
IOS: https://facebook.github.io/react-native/docs/native-modules-ios.html
Android: https://facebook.github.io/react-native/docs/native-modules-android.html
Adyen has recently released a BETA version of the official react-native support. It is still in progress, but a good point to start.
https://github.com/Adyen/adyen-react-native
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With