Skip to content

lomocoin/react-native-lomocoin-rongcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dae88c7 · Dec 4, 2018
Oct 25, 2017
Nov 5, 2018
Aug 17, 2018
Jul 18, 2016
May 30, 2018
Apr 16, 2016
Nov 23, 2018
Dec 26, 2017
Dec 4, 2018
Dec 5, 2017
Jun 14, 2018
Aug 2, 2017
Dec 4, 2018

Repository files navigation

react-native-lomocoin-rongcloud

Rongcloud For React Native

Usage

npm i react-native-lomocoin-rongcloud
react-native link react-native-lomocoin-rongcloud

Android config

  • config AndroidManifest.xml
  • fix settings.gradle
// file: android/settings.gradle
// ...
include ':react-native-lomocoin-rongcloud'
project(":react-native-lomocoin-rongcloud").projectDir = file("../node_modules/react-native-lomocoin-rongcloud/android")
// file: android/app/build.gradle

dependencies {
    // ...
    compile project(':react-native-lomocoin-rongcloud')
}

iOS config

Build Phases -> Link Binary With Libraries -> add Other:

  • libopencore-amrnb.a
  • RongIMLib.framework
  • libsqlite3.tbd

add framework search paths & library search paths "$(SRCROOT)/../node_modules/react-native-lomocoin-rongcloud/ios/lib"

Import

import RongCloud from 'react-native-lomocoin-rongcloud'

iOS Push Notifications

Please follow RongCloud official website to configuration certificate: http://www.rongcloud.cn/docs/ios_push.html

Thanks

this project is base on https://github.com/lovebing/react-native-rongcloud-imlib