mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-12-23 05:47:35 +00:00
Merged in JesperBalslev/cordova-plugin-run-in-background (pull request #4)
Fixes iOS issues with backgroundMode.onactivate and backgroundMode.ondeactivate
This commit is contained in:
parent
5f50704564
commit
1dab2de6ec
@ -221,8 +221,8 @@ NSString* const kAPPBackgroundEventDeactivate = @"deactivate";
|
||||
|
||||
NSString* flag = [NSString stringWithFormat:@"%@._isActive=%@;",
|
||||
kAPPBackgroundJsNamespace, active];
|
||||
|
||||
NSString* depFn = [NSString stringWithFormat:@"%@.on%@();",
|
||||
|
||||
NSString* depFn = [NSString stringWithFormat:@"%@.on('%@');",
|
||||
kAPPBackgroundJsNamespace, event];
|
||||
|
||||
NSString* fn = [NSString stringWithFormat:@"%@.fireEvent('%@');",
|
||||
|
Loading…
Reference in New Issue
Block a user