1.0.4 • Published 5 years ago

ringlerr-react-native v1.0.4

Weekly downloads
14
License
Ringlerr
Repository
-
Last release
5 years ago

react-native-ringlerr-react-native

Getting started

$ npm install react-native-ringlerr-react-native --save

Mostly automatic installation

$ react-native link react-native-ringlerr-react-native

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-ringlerr-react-native and add RNRinglerrReactNative.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNRinglerrReactNative.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNRinglerrReactNativePackage; to the imports at the top of the file
  • Add new RNRinglerrReactNativePackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-ringlerr-react-native'
    project(':react-native-ringlerr-react-native').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-ringlerr-react-native/android')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-ringlerr-react-native')

Windows

Read it! :D

  1. In Visual Studio add the RNRinglerrReactNative.sln in node_modules/react-native-ringlerr-react-native/windows/RNRinglerrReactNative.sln folder to their solution, reference from their app.
  2. Open up your MainPage.cs app
  • Add using Ringlerr.React.Native.RNRinglerrReactNative; to the usings at the top of the file
  • Add new RNRinglerrReactNativePackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNRinglerrReactNative from 'react-native-ringlerr-react-native';

// TODO: What to do with the module?
RNRinglerrReactNative;
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago