/TestNativeModule

This repo is test to use CreateReactNativeModule.

Primary LanguageJavaScript

react-native-test-native-module

Getting started

$ npm install react-native-test-native-module --save

Mostly automatic installation

$ react-native link react-native-test-native-module

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-test-native-module and add TestNativeModule.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libTestNativeModule.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Usage

import TestNativeModule from 'react-native-test-native-module';

// TODO: What to do with the module?
TestNativeModule;