rhdeck / react-native-swift-cli

CLI Interface for creating/linking Swift-based React Native Native Modules
MIT License
32 stars 2 forks source link

a generic question #2

Open nomoreboredom opened 6 years ago

nomoreboredom commented 6 years ago

Hi @rhdeck

Thanks for your repos :)

Currently i need to write a bridge for a swift sdk, which is actually this sdk: https://github.com/noke-inc/noke-mobile-library-ios

I managed to handle android part but I am unfamiliar with bridging part for this swift sdk. I want the bridge to be its own module, so I dont want to integrate native sdk directly to my app.

Can you perhaps shortly suggest me what would be the approach to realise this? Precisely, how would I make my own react native module using this sdk of the 3rd party? I have used this lib to generate my module boilerplate https://github.com/frostney/react-native-create-library. Should I just pod init on my module and add the 3rd party sdk pod?

It would be great if you can enlighten me on this.

Thanks!