mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2026-04-19 00:03:45 +08:00
iOS - add API
1.增加延迟启动 API 2.增加 doc 说明 3.优化代码
This commit is contained in:
@@ -49,6 +49,11 @@ JPushPlugin.prototype.isPushStopped = function (callback) {
|
||||
}
|
||||
|
||||
// iOS methods
|
||||
|
||||
JPushPlugin.prototype.startJPushSDK = function () {
|
||||
this.call_native('startJPushSDK', [] , null)
|
||||
}
|
||||
|
||||
JPushPlugin.prototype.setTagsWithAlias = function (tags, alias) {
|
||||
if (tags == null) {
|
||||
this.setAlias(alias)
|
||||
|
||||
Reference in New Issue
Block a user