Skip to content

Commit

Permalink
Merge pull request #600 from haoxiuwen/doc-v2
Browse files Browse the repository at this point in the history
Modify Push Doc
  • Loading branch information
haoxiuwen authored Jan 12, 2024
2 parents 6754641 + bab0941 commit aadcfae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/push/push_notification_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"channelName": "消息",
"channelLevel": 3,
"autoCancel": 1,
"expiresTime": 3600000,
"expiresTime": 1650859482843,
"sound": 0,
"vibrate": 0,
"style": 2,
Expand All @@ -113,7 +113,7 @@
| `channelName` | String | 通知渠道名称,默认为 `消息`。只有第一次创建通道时使用。 | Android |
| `channelLevel` | Int | 通知级别,只有第一次创建通道时使用。<br/> - `0`:最低;<br/> - `3`:默认;<br/> - `4`:高。 | Android |
| `autoCancel` | Int | 点击通知后是否自动关闭通知栏。<br/> - `0`:否;<br/> - (默认)`1`:是。 | Android |
| `expiresTime` | Long | 通知展示的过期时间,为 Unix 时间戳,单位为毫秒。 | iOS & Android |
| `expiresTime` | Long | 通知展示过期的 Unix 时间戳,单位为毫秒。计算公式:当前时间戳 + 保留时间。 | iOS & Android |
| `sound` | Int | 声音提醒。<br/> - (默认)`0`:无声音; <br/> - `1`:声音提醒。 | iOS & Android |
| `vibrate` | Int | 振动提醒。<br/> - (默认)`0`:无振动;<br/> - `1`:振动提醒。 | iOS & Android |
| `style` | Int | 展示样式。<br/> -(默认)`0`:普通样式; <br/>- `1`:大文本样式; <br/>- `2`:大图片样式。 | iOS & Android |
Expand Down

0 comments on commit aadcfae

Please sign in to comment.