Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

Set React Native project with iOS Bridge into reusable NPM Module

$
0
0

I have a React Native project (created with react-native init myProject), implementing a Swift Bridge, in order to get UIViews and methods from a Swift Library. I followed this tutorial to achieve this.Everyhing work fines, and I can use this Swift Lib into my React Native views.

But now I would like to convert this RN project into a reusable component, using NPM module.

I have read a lot of tutorials, and I am lost.

I read about react-native-create-library and react-native-create-bridge, but I understood that it is useless for me as I already create my bridge manually...

Can't I just create my npm module from this same project I was working on ?

Sorry for my confused question, thanks for the help!


Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>