Description
Description
I'm trying to create a native react-native library that I intend to publish on npm. What are the development guidelines that I need to follow to achieve this? So far I have only been able to write native code for the ios and android application project, but I haven't yet found an official guide to help me create a native library that I can publish on npm.
I have used the template from this git repo https://github.com/frostney/react-native-create-library to get me started, but I haven't yet found a way to link React-Native header files for ios. Android works after some tweaks. Also when creating an iOS native library, what is the correct way to use cocoapods.
Any help would be greatly appreciated. It would be nice if someone from react-native development community could write an official guide.