Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
Issue #521: iOS Action Button Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Feb 5, 2016
1 parent 8f53ed3 commit 231a816
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ios/PushPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ - (void)init:(CDVInvokedUrlCommand*)command;

isInline = NO;

#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000
NSLog(@"PushPlugin.register: better button setup");
// setup action buttons
NSMutableSet *categories = [[NSMutableSet alloc] init];
Expand Down Expand Up @@ -203,6 +204,9 @@ - (void)init:(CDVInvokedUrlCommand*)command;
}

}
#else
NSLog(@"PushPlugin.register: action buttons only supported on iOS8 and above");
#endif


#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000
Expand Down

0 comments on commit 231a816

Please sign in to comment.