/cordova-plugin-rongcloud-im

RongCloud IMLib Plugin for Cordova.

Primary LanguageObjective-CMIT LicenseMIT

cordova-plugin-rongcloud-im

This is a Cordova plugin for RongCloud IMLib.For more detailed information about underlying business processes please refer to Android Development Guide.

Install

To add the plugin to your Cordova project, simply add the plugin from the npm registry:

cordova plugin add cordova-plugin-rongcloud-im

Alternatively, you can install the latest version of the plugin directly from git:

cordova plugin add https://github.com/rongcloud/cordova-plugin-rongcloud-im

Usage

The plugin is available via a global variable named RongCloudLibPlugin. It exposes the following properties and functions.

All functions accept optional success and failure callbacks as their final two arguments, where the failure callback will receive an error string as an argument unless otherwise noted.

API

http://www.rongcloud.cn/docs/cordova.html

Demo

https://github.com/rongcloud/cordova-plugin-rongcloud-im-demo