Commit fe01c166 authored by Jason Farnsworth's avatar Jason Farnsworth
Browse files

Updating iOS PushPlugin for ARC builds (cordova-cli 3.0 default configuration)

parent 739476fa
Loading
Loading
Loading
Loading
+0 −1
Changes for src/ios/AppDelegate+notification.m: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -113,7 +113,6 @@ static char launchNotificationKey;
- (void)dealloc
{
    self.launchNotification	= nil; // clear the association and release the object
    [super dealloc];
}

@end
+1 −1
Changes for src/ios/PushPlugin.h: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@
@property (nonatomic, copy) NSString *notificationCallbackId;
@property (nonatomic, copy) NSString *callback;

@property (nonatomic, retain) NSDictionary *notificationMessage;
@property (nonatomic, strong) NSDictionary *notificationMessage;
@property BOOL                          isInline;

- (void)register:(NSMutableArray *)arguments withDict:(NSMutableDictionary *)options;
+0 −8
Changes for src/ios/PushPlugin.m: 0 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -34,14 +34,6 @@
@synthesize notificationCallbackId;
@synthesize callback;

- (void)dealloc
{
    [notificationMessage release];
    self.notificationCallbackId = nil;
    self.callback = nil;

    [super dealloc];
}

- (void)unregister:(NSMutableArray *)arguments withDict:(NSMutableDictionary *)options
{