We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 065688b commit e85e6b1Copy full SHA for e85e6b1
README.md
@@ -5,6 +5,10 @@
5
6
7
### 修改履历
8
+v1.0.17
9
+1. add AliyunPush.removeAllListeners()
10
+2. 修复MIUIUtils类中isMIUI方法android 8.0以上异常
11
+
12
v1.0.16
13
1. 修复ios低版本收到通知后闪退问题
14
@@ -292,8 +296,11 @@ componentDidMount() {
292
296
}
293
297
294
298
componentWillUnmount() {
295
- //
299
+ //移除监听
300
AliyunPush.removeListener(this.handleAliyunPushMessage);
301
302
+ //也可以用移除全部监听
303
+ //AliyunPush.removeAllListeners()
304
305
306
handleAliyunPushMessage = (e) => {
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-native-aliyun-push",
3
- "version": "1.0.16",
+ "version": "1.0.17",
4
"description": "A react native wrapper for aliyun push SDK",
"main": "index.js",
"repository": {
0 commit comments