Skip to content

Commit

Permalink
Merge pull request #8437 from rlepinski/master
Browse files Browse the repository at this point in the history
[TIMOB-23960] iOS: Fix unrecognized selector crash when using background-notifications
  • Loading branch information
hansemannn committed Sep 28, 2016
2 parents 224b962 + f0eeb19 commit e723828
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion iphone/Classes/TiApp.m
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,9 @@ - (void)application:(UIApplication *)application didReceiveRemoteNotification:(N
{
//FunctionName();
//Forward the callback
[self application:application didReceiveRemoteNotification:userInfo];
if ([self respondsToSelector:@selector(application:didReceiveRemoteNotification:)]) {
[self application:application didReceiveRemoteNotification:userInfo];
}

//This only here for Simulator builds.

Expand Down

0 comments on commit e723828

Please sign in to comment.