aurora-imui-cp

0.1.10 • Public • Published

aurora-imui-cp

Getting started

$ npm install aurora-imui-cp --save

Mostly automatic installation

$ react-native link aurora-imui-cp

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesaurora-imui-cp and add RNReactNativePushLive.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNReactNativePushLive.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.RNReactNativePushLivePackage; to the imports at the top of the file
  • Add new RNReactNativePushLivePackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':aurora-imui-cp'
    project(':aurora-imui-cp').projectDir = new File(rootProject.projectDir, 	'../node_modules/aurora-imui-cp/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':aurora-imui-cp')
    

Windows

Read it! :D

  1. In Visual Studio add the RNReactNativePushLive.sln in node_modules/aurora-imui-cp/windows/RNReactNativePushLive.sln folder to their solution, reference from their app.
  2. Open up your MainPage.cs app
  • Add using React.Native.Push.Live.RNReactNativePushLive; to the usings at the top of the file
  • Add new RNReactNativePushLivePackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNReactNativePushLive from "aurora-imui-cp";

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

Readme

Keywords

Package Sidebar

Install

npm i aurora-imui-cp

Weekly Downloads

1

Version

0.1.10

License

none

Unpacked Size

2.79 MB

Total Files

653

Last publish

Collaborators

  • daiyehao