Skip to content

Commit 773f1dc

Browse files
author
TC130精神扰乱装置
authored
Merge pull request #734 from jpush/dev
更新本地通知messageID入参说明
2 parents 00c6e89 + 21b64d5 commit 773f1dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ export default class JPush {
259259
*
260260
* @param {"messageID":String,"title":String,"content":String,"extras":{String:String}}
261261
*
262-
* messageID:唯一标识通知消息的ID,可用于移除消息
262+
* messageID:唯一标识通知消息的ID,可用于移除消息。
263+
* android用到的是int,ios用到的是String,rn这边提供接口的时候统一改成了String,然后android拿到String转int。输入messageID的时候需要int值范围在[1,2147483647]然后转成String。
263264
*
264265
* title:对应“通知标题”字段
265266
*

0 commit comments

Comments
 (0)