File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 44
551 . 新增本地通知api
66
7- ```
7+ ``` javascript
88 // 添加本地通知
9- addLocalNotification(" messageID" :String," title" :String," content" :String," extras" :{String:String})
9+ addLocalNotification ({ messageID: String ,title: String , content: String ,extras: {String : String } })
1010 // 移除指定通知
11- removeLocalNotification({" messageID" :String})
11+ removeLocalNotification ({messageID: String })
1212 // 移除所有通知
1313 clearLocalNotifications ()
1414 ```
1515
16162 . 调整获取registerId方法
1717
18- ```
18+ ``` javascript
1919 getRegistrationID (callback)
2020 // 更新前 Android,ios无变化
2121 callback = (result ) => {String }
2222 // 更新后 Android,ios无变化
23- callback = (result) => {" registerID" :String}
23+ callback = (result ) => {registerID: String }
2424 ```
2525
26263 . 调整设置调试模式方法
2727
28- ```
28+ ``` javascript
2929 // 更新前
3030 setLoggerEnable ({debug: boolean})
3131 // 更新后
3434
35354 . 调整设置ios角标方法
3636
37- ```
37+ ``` javascript
3838 // 更新前
3939 setBadge ({badge: int})
4040 // 更新后,新增appBadge用于设置APP显示角标
You can’t perform that action at this time.
0 commit comments