Skip to content

Commit 1d86110

Browse files
committed
udpate docs
1 parent 318b036 commit 1d86110

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

documents/api.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* [Common API](#common-api)
44
* [getRegistrationID](#getregistrationid)
55
* [stopPush](#stoppush)
6+
* [resumePush](#resumepush)
67
* [setAlias](#setalias)
78
* [addTags](#addtags)
89
* [deleteTags](#deletetags)
@@ -24,7 +25,6 @@
2425
* [网络成功登陆事件](#network-did-login-event)
2526
* [Android Only API](#android-only-api)
2627
* [initPush](#initpush)
27-
* [resumePush](#resumepush)
2828
* [crashLogOFF](#crashlogoff)
2929
* [crashLogON](#crashlogno)
3030
* [notifyJSDidLoad](#notifyjsdidload)
@@ -61,6 +61,14 @@ Android 和 iOS 通用 API。
6161
JPushModule.stopPush();
6262
```
6363

64+
* #### resumePush
65+
66+
恢复推送。建议在 `MainActivity``onResume` 中调用:
67+
68+
```
69+
JPushInterface.onResume(this);
70+
```
71+
6472
#### setAlias
6573

6674
* setAlias(alias, successCallback)
@@ -359,14 +367,6 @@ JPushModule.getLaunchAppNotification( notification => {
359367
JPushInterface.init(this);
360368
```
361369

362-
* #### resumePush
363-
364-
恢复推送。建议在 `MainActivity``onResume` 中调用:
365-
366-
```
367-
JPushInterface.onResume(this);
368-
```
369-
370370
* #### crashLogOFF
371371

372372
停止上报崩溃日志

0 commit comments

Comments
 (0)