0.1.10 • Published 5 years ago

aurora-imui-cp v0.1.10

Weekly downloads
15
License
-
Repository
-
Last release
5 years ago

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;
0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago