iOS 更新到6.0.0,安卓更新到6.0.1版本。iOS SDK 换成cocoapods集成,安卓 SDK换成marven集成。插件版本改成6.0.1

This commit is contained in:
huangshuni
2026-01-30 15:08:42 +08:00
parent 43a4917f23
commit 263a372663
26 changed files with 304 additions and 2207 deletions
+12
View File
@@ -48,6 +48,18 @@
[self handleResultWithValue:result command:command];
}
-(void)getPushStatus:(CDVInvokedUrlCommand*)command{
WEAK_SELF(weakSelf)
[JPUSHService getPushStatus:^(NSInteger iResCode, BOOL isStopped) {
NSDictionary *result = @{
@"code": @(iResCode),
@"isStopped": isStopped ? @1 : @0
};
CDVPluginResult *pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsDictionary:result];
[weakSelf.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];
}];
}
-(void)initial:(CDVInvokedUrlCommand*)command{
//do nithng,because Cordova plugin use lazy load mode.
}