-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/mpusher/mpush-client-oc
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
### 一、核心文件:MPMessageHandler | ||
`MPMessageHandler`为该sdk的核心文件,提供了`连接` `断开连接` `绑定用户` `解除绑定` `发送消息` 等api和`绑定用户成功` `解除绑定用户成功` `接收消息` `踢用户下线` 等代理方法 | ||
`MPMessageHandler`为该sdk的核心类,</br>该类提供了`连接` `断开连接` `绑定用户` `解除绑定` `发送消息` 等api </br>和`绑定用户成功` `解除绑定用户成功` `接收消息` `踢用户下线` 等代理方法</br> | ||
|
||
### 二、demo使用方法: | ||
1、建立连接 (发送`握手`数据) | ||
2、绑定用户 (发送`绑定`数据) | ||
3、收发消息 (发送`http代理`数据、`处理收到的push消息`) | ||
1、建立连接 </br> | ||
2、绑定用户 </br> | ||
3、收发消息 </br> | ||
|
||
## 使用注意: | ||
1、在Mpush.h文件修改相应配置 | ||
2、需要更换与服务对应的 IP地址 和 MessageDataPacketTool.h文件中的pubkey(握手时RSA加密所需的公钥) | ||
3、iOS10以上需要打开keychain Sharing的开关 -->`在xcode的Target中选中Capabilities找到keychain Sharing选项 打开开关即可` | ||
1、在Mpush.h文件修改相应配置</br> | ||
2、需要更换与服务对应的 IP地址 和 MessageDataPacketTool.h文件中的pubkey(握手时RSA加密所需的公钥)</br> | ||
3、iOS10以上需要打开keychain Sharing的开关 -->`在xcode的Target中选中Capabilities找到keychain Sharing选项 打开开关即可` | ||
|