Giter Site home page Giter Site logo

jmessage-phonegap-plugin's Introduction

jmessage-phonegap-plugin

概要

jmessage-phonegap-plugin 是基于极光IM的Cordova 插件。 目前支持 iOS , Android 平台。

jmessage-phonegap-plugin 除了支持IM 功能外,还集成了原 jpush-phonegap-plugin 插件, 支持消息推送功能。

注意:

jmessage-phonegap-plugin 和 jpush-phonegap-plugin 这两插件不能同时安装。 迁移到jmessage-phonegap-plugin 前要先删除jpush-phonegap-plugin 插件。

###功能和特性:

IM

  • 用户注册/登录
  • 会话
  • 会话列表
  • 获取本地会话记录
  • 设置用户基本信息昵称,性别等

Push

  • 发送推送通知
  • 发送推送自定义消息
  • 设置推送标签和别名

###开发环境:

  • cordova 版本 5.0.0 及以上
  • iOS平台:xcode 版本 7.0 及以上
  • Android 平台:Android Studio 1.5 及以上

安装

下载代码后,在本地安装(推荐

cordova plugin add  <jmessage-phonegap-plugin路径>   --variable APP_KEY=<your app key>

或 在线安装

cordova plugin add  https://github.com/jpush/jmessage-phonegap-plugin.git --variable APP_KEY=<your app key>

查看如何获取APP_KEY,点击这里

安装依赖的其他 plugin

  • org.apache.cordova.device
cordova plugin add org.apache.cordova.device

使用示例

示例目录

jmessage-phonegap-plugin/example/

API

API 分为IM(聊天)API 和 Push(消息推送)两部分

jmessage-phonegap-plugin's People

Contributors

dreamzoom avatar darkterrorooo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.