mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-12-23 13:57:35 +00:00
Merge pull request #127 from DanielRiera/patch-1
Xcode se queja "Estos siempre se evaluará como true" no es necesario "&"
This commit is contained in:
commit
99ec1cf418
@ -49,7 +49,7 @@ NSString *const kAPPBackgroundEventFailure = @"failure";
|
||||
{
|
||||
NSNotificationCenter* listener = [NSNotificationCenter defaultCenter];
|
||||
|
||||
if (&UIApplicationDidEnterBackgroundNotification && &UIApplicationWillEnterForegroundNotification) {
|
||||
if (UIApplicationDidEnterBackgroundNotification && UIApplicationWillEnterForegroundNotification) {
|
||||
|
||||
[listener addObserver:self
|
||||
selector:@selector(keepAwake)
|
||||
|
Loading…
Reference in New Issue
Block a user