diff --git a/ios/RCTMIPushModule/RCTMIPushModule/RCTMIPushModule.m b/ios/RCTMIPushModule/RCTMIPushModule/RCTMIPushModule.m index 4d0a461..d3bc981 100644 --- a/ios/RCTMIPushModule/RCTMIPushModule/RCTMIPushModule.m +++ b/ios/RCTMIPushModule/RCTMIPushModule/RCTMIPushModule.m @@ -101,6 +101,7 @@ + (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNot [RCTPushNotificationManager didReceiveRemoteNotification:userInfo]; } + completionHandler(UNNotificationPresentationOptionAlert | UNNotificationPresentationOptionBadge | UNNotificationPresentationOptionSound); } // 点击通知进入应用