diff --git a/RNNotifications/RNNotifications.m b/RNNotifications/RNNotifications.m index 33786ed64..69fca32ca 100644 --- a/RNNotifications/RNNotifications.m +++ b/RNNotifications/RNNotifications.m @@ -300,12 +300,13 @@ -(void) handleReceiveNotification:(UIApplicationState)state userInfo:(NSDictiona { case (int)UIApplicationStateActive: [self checkAndSendEvent:RNNotificationReceivedForeground body:userInfo]; - + break; case (int)UIApplicationStateInactive: [self checkAndSendEvent:RNNotificationOpened body:userInfo]; - + break; default: [self checkAndSendEvent:RNNotificationReceivedBackground body:userInfo]; + break; } }