mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2025-12-15 10:53:22 +00:00
Fix find&replace issue
This commit is contained in:
@@ -245,9 +245,9 @@ NSString* const kAPPBackgroundEventFailure = @"failure";
|
||||
id obj = ((id (*)(id, SEL, NSDictionary*))_imp)(self, _cmd, settings);
|
||||
|
||||
SEL sel = NSSelectorFromString(@"_setAlwaysRunsAtForegroundPriority:");
|
||||
((void (*)(id, SEL, BOOL))[obj methodForSelector:selector])(obj, sel, YES);
|
||||
((void (*)(id, SEL, BOOL))[obj methodForSelector:sel])(obj, sel, YES);
|
||||
|
||||
return sel;
|
||||
return obj;
|
||||
}
|
||||
SwizzleSelectorWithBlock_End;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user