Skip to content

Commit

Permalink
Fix runtime iOS issue with backgroundMode.onactivate (katzer#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddickson authored and raylin01 committed Jun 7, 2021
1 parent 3ed15e5 commit 7be31c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/APPBackgroundMode.m
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ - (void) fireEvent:(NSString*)event
NSString* flag = [NSString stringWithFormat:@"%@._isActive=%@;",
kAPPBackgroundJsNamespace, active];

NSString* depFn = [NSString stringWithFormat:@"%@.on%@();",
NSString* depFn = [NSString stringWithFormat:@"%@.on('%@');",
kAPPBackgroundJsNamespace, event];

NSString* fn = [NSString stringWithFormat:@"%@.fireEvent('%@');",
Expand Down

0 comments on commit 7be31c8

Please sign in to comment.