Home > Enterprise >  What are the steps to publish a react native library with native codes (Java and Objective C)
What are the steps to publish a react native library with native codes (Java and Objective C)

Time:01-13

I want to publish a react native library to npm with native codes (Java and Objective C). I have created a react native app and the native modules and native UI components are working fine in the app but I don't know how to publish my code as a react native library.

CodePudding user response:

If you have completed all the tests, you can do this with a simple library.

that is create-react-native-library

This is shown in the official document of react-native.

You can also use create-react-native-module, a library with multiple added functions based on react-native-create-library

  •  Tags:  
  • Related