mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-26 09:14:54 +00:00
parent
a3063aed68
commit
48a06fc3eb
@ -222,7 +222,7 @@ NSString* const kAPPBackgroundEventDeactivate = @"deactivate";
|
|||||||
NSString* flag = [NSString stringWithFormat:@"%@._isActive=%@;",
|
NSString* flag = [NSString stringWithFormat:@"%@._isActive=%@;",
|
||||||
kAPPBackgroundJsNamespace, active];
|
kAPPBackgroundJsNamespace, active];
|
||||||
|
|
||||||
NSString* depFn = [NSString stringWithFormat:@"%@.on%@();",
|
NSString* depFn = [NSString stringWithFormat:@"%@.on('%@');",
|
||||||
kAPPBackgroundJsNamespace, event];
|
kAPPBackgroundJsNamespace, event];
|
||||||
|
|
||||||
NSString* fn = [NSString stringWithFormat:@"%@.fireEvent('%@');",
|
NSString* fn = [NSString stringWithFormat:@"%@.fireEvent('%@');",
|
||||||
|
Loading…
Reference in New Issue
Block a user