Skip to content

Commit

Permalink
No longer needed code
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Mar 9, 2016
1 parent 82b0754 commit 7508693
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/ios/APPLocalNotification.m
Original file line number Diff line number Diff line change
Expand Up @@ -630,27 +630,7 @@ - (void) didRegisterUserNotificationSettings:(UIUserNotificationSettings*)settin
*/
- (void) pluginInitialize
{
NSNotificationCenter* center = [NSNotificationCenter
defaultCenter];

eventQueue = [[NSMutableArray alloc] init];

[center addObserver:self
selector:@selector(didReceiveLocalNotification:)
name:CDVLocalNotification
object:nil];

[center addObserver:self
selector:@selector(didFinishLaunchingWithOptions:)
name:UIApplicationDidFinishLaunchingNotification
object:nil];

#ifdef __IPHONE_8_0
[center addObserver:self
selector:@selector(didRegisterUserNotificationSettings:)
name:UIApplicationRegisterUserNotificationSettings
object:nil];
#endif
}

/**
Expand Down

0 comments on commit 7508693

Please sign in to comment.