-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #563 from jpush/dev
Dev
- Loading branch information
Showing
10 changed files
with
86 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#Wed May 30 14:17:39 CST 2018 | ||
connection.project.dir=../../../android | ||
connection.project.dir=../example/android | ||
eclipse.preferences.version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
* [点击推送事件](#点击推送事件) | ||
* [接收推送事件](#接收推送事件) | ||
* [接收自定义消息事件](#接收自定义消息事件) | ||
* [hasPermission](#haspermission) | ||
* [iOS Only API](#ios-only-api) | ||
* [setupPush](#setuppush) | ||
* [setBadge](#setbadge) | ||
|
@@ -26,7 +27,6 @@ | |
* [getLaunchAppNotification](#getlaunchappnotification) | ||
* [点击推送启动应用事件](#open-notification-launch-app-event) | ||
* [网络成功登陆事件](#network-did-login-event) | ||
* [hasPermission](#haspermission) | ||
* [Android Only API](#android-only-api) | ||
* [crashLogOFF](#crashlogoff) | ||
* [crashLogON](#crashlogno) | ||
|
@@ -285,6 +285,17 @@ JPushModule.clearNotificationById(notificationId); | |
JPushModule.removeReceiveCustomMsgListener(callback); | ||
``` | ||
|
||
|
||
#### hasPermission | ||
|
||
获取应用是否有推送权限。 | ||
|
||
``` | ||
JPushModule.hasPermission( res => { | ||
// res = boolen | ||
}) | ||
``` | ||
|
||
### iOS Only API | ||
|
||
#### setupPush | ||
|
@@ -356,16 +367,6 @@ JPushModule.getLaunchAppNotification( notification => { | |
}) | ||
``` | ||
|
||
#### hasPermission | ||
|
||
获取应用是否有推送权限。 | ||
|
||
``` | ||
JPushModule.hasPermission( res => { | ||
// res = boolen | ||
}) | ||
``` | ||
|
||
#### 点击推送启动应用事件 | ||
|
||
**NOTE**: iOS 需要安装到 [email protected]+ 。 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters