Skip to content

Commit 5e37e6e

Browse files
committed
update docs example
1 parent cd0a20a commit 5e37e6e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

example/documents/APIs.md

Lines changed: 3 additions & 4 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)
@@ -116,7 +116,6 @@ reset tags.
116116
JPushModule.sendLocalNotification(
117117
{
118118
id:5,
119-
title:'haha',
120119
content:'content',
121120
extra:{key1:'value1',key2:'value2'},
122121
fireTime: currentDate.getTime() + 3000,

example/documents/APIs_zh.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ Android 和 iOS 通用 API。
147147
JPushModule.sendLocalNotification(
148148
{
149149
id:5,
150-
title:'haha',
151150
content:'content',
152151
extra:{key1:'value1',key2:'value2'},
153152
fireTime: currentDate.getTime() + 3000,

0 commit comments

Comments
 (0)