Create React-Native-Bridge: Native Android and iOS Code

Posted on Posted in ReactNative

Bridging native modules & UI components.

Getting Started

  1. npm install -g react-native-create-bridge or yarn global add react-native-create-bridge
  2. From the root of your React Native project, run create-bridge

Ex.

SQLiteConnection_Android_iOS>create-bridge
? What is your bridge module called? SQLConnection
? What type of bridge would you like to create? (Press <space> to select, <a> t
o toggle all, <i> to inverse selection)Native Module, Native UI Component
? What OS & languages would you like to support? (Press <space> to select, <a>
to toggle all, <i> to inverse selection)Android/Java, iOS/Objective-C
? What directory should we deliver your JS files to? .
√ Your bridge module was successfully created! ?

Leave a Reply

Your email address will not be published. Required fields are marked *