Skip to content

Commit 0a7d27c

Browse files
committed
update docs
1 parent 2c41854 commit 0a7d27c

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

example/documents/APIs.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ reset tags.
102102
- sendLocalNotification(notification)
103103

104104
- **buildId** : Number // set local notification styles,1 defoult style,2 custom style( you should call setStyleCustom frist) (Android Only)
105-
- **id** : Number // local notification identify,l you can use it to cancel local notification
106-
- **title** : String // local notification title
107-
- **content** : String // local notification content
105+
- **id** : Number // local notification identify,l you can use it to cancel local notification
106+
- **title** : String // local notification title
107+
- **content** : String // local notification content
108108
- **extra** : Object // local notification extra (key-value)
109109
- **fireTime** : Number // show local notification time(ms)
110110
- **badge** : Number // when local notification fire, application icon will set badge with this value (iOS Only)
@@ -250,13 +250,13 @@ setLocalNotification( Date, // date local notification fire data
250250
JPushModule.addOpenNotificationLaunchAppListener(callback)
251251
```
252252

253-
- removeOpenNotificationLaunchAppListener(function)
253+
- removeOpenNotificationLaunchAppEventListener(function)
254254

255255
```javascript
256-
JPushModule.removeOpenNotificationLaunchAppListener(callback)
256+
JPushModule.removeOpenNotificationLaunchAppEventListener(callback)
257257
```
258258

259-
remove listener:application not running and tap notification to run application,`removeOpenNotificationLaunchAppListener` and `addOpenNotificationLaunchAppListener` used in pairs.
259+
remove listener:application not running and tap notification to run application,`removeOpenNotificationLaunchAppEventListener` and `addOpenNotificationLaunchAppListener` used in pairs.
260260

261261
**Network Did Login Event**
262262

example/documents/APIs_zh.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ Android 和 iOS 通用 API。
133133
- sendLocalNotification(notification)
134134

135135
- **buildId** : Number // 设置通知样式,1 为基础样式,2 为自定义样式。自定义样式需要先调用 setStyleCustom 接口设置自定义样式。(Android Only)
136-
- **id** : Number // 通知的 id, 可用于取消通知
137-
- **title** : String // 通知标题
138-
- **content** : String // 通知内容
136+
- **id** : Number // 通知的 id, 可用于取消通知
137+
- **title** : String // 通知标题
138+
- **content** : String // 通知内容
139139
- **extra** : Object // extra 字段
140140
- **fireTime** : Number // 通知触发时间的时间戳(毫秒)
141141
- **badge** : Number // 本地推送触发后应用角标的 badge 值 (iOS Only)
@@ -279,13 +279,13 @@ setLocalNotification( Date, // date 触发本地推送的时间
279279
JPushModule.addOpenNotificationLaunchAppListener(callback)
280280
```
281281

282-
- removeOpenNotificationLaunchAppListener(function)
282+
- removeOpenNotificationLaunchAppEventListener(function)
283283

284284
```javascript
285-
JPushModule.removeOpenNotificationLaunchAppListener(callback)
285+
JPushModule.removeOpenNotificationLaunchAppEventListener(callback)
286286
```
287287

288-
取消监听:`removeOpenNotificationLaunchAppListener` 取消事件回调,和`addOpenNotificationLaunchAppListener` 方法成对使用。
288+
取消监听:`removeOpenNotificationLaunchAppEventListener` 取消事件回调,和`addOpenNotificationLaunchAppListener` 方法成对使用。
289289

290290
**Network Did Login Event**
291291

example/documents/common_problems.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
- [事件的解析](#事件的解析)
44
- [页面跳转](#页面跳转)
55
- [编译报错](#编译报错)
6-
- [iOS 收不到推送](#iOS 收不到推送)
7-
- [iOS 应用角标 Badge](#iOS 应用角标 Badge)
6+
- [iOS 收不到推送](#iOS收不到推送)
7+
- [iOS 应用角标 Badge](#iOS应用角标Badge)
88
- [其他](#其他)
99

1010

0 commit comments

Comments
 (0)