Skip to content

Commit

Permalink
version up to v1.0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
Wonday committed Mar 23, 2019
1 parent 065688b commit e85e6b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@


### 修改履历
v1.0.17
1. add AliyunPush.removeAllListeners()
2. 修复MIUIUtils类中isMIUI方法android 8.0以上异常

v1.0.16
1. 修复ios低版本收到通知后闪退问题

Expand Down Expand Up @@ -292,8 +296,11 @@ componentDidMount() {
}
componentWillUnmount() {
//
//移除监听
AliyunPush.removeListener(this.handleAliyunPushMessage);
//也可以用移除全部监听
//AliyunPush.removeAllListeners()
}
handleAliyunPushMessage = (e) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-aliyun-push",
"version": "1.0.16",
"version": "1.0.17",
"description": "A react native wrapper for aliyun push SDK",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit e85e6b1

Please sign in to comment.