mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-05-05 18:02:55 +08:00
iOS - update
This commit is contained in:
parent
1cf537dacb
commit
20d93c0047
@ -91,7 +91,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
+(void)fireDocumentEvent:(NSString*)eventName jsString:(NSString*)jsString{
|
+(void)fireDocumentEvent:(NSString*)eventName jsString:(NSString*)jsString{
|
||||||
[SharedJPushPlugin.commandDelegate evalJs:[NSString stringWithFormat:@"cordova.fireDocumentEvent('jpush.%@',%@)", eventName, jsString]];
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
|
[SharedJPushPlugin.commandDelegate evalJs:[NSString stringWithFormat:@"cordova.fireDocumentEvent('jpush.%@',%@)", eventName, jsString]];
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
-(void)setTagsWithAlias:(CDVInvokedUrlCommand*)command{
|
-(void)setTagsWithAlias:(CDVInvokedUrlCommand*)command{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user