diff --git a/src/ios/AppDelegate+notification.m b/src/ios/AppDelegate+notification.m index b04c47687..895b93cbd 100644 --- a/src/ios/AppDelegate+notification.m +++ b/src/ios/AppDelegate+notification.m @@ -223,7 +223,14 @@ - (void)userNotificationCenter:(UNUserNotificationCenter *)center case UIApplicationStateInactive: { NSLog(@"coldstart"); - self.launchNotification = response.notification.request.content.userInfo; + + if([response.actionIdentifier rangeOfString:@"UNNotificationDefaultActionIdentifier"].location == NSNotFound) { + self.launchNotification = userInfo; + } + else { + self.launchNotification = response.notification.request.content.userInfo; + } + self.coldstart = [NSNumber numberWithBool:YES]; break; }