From 326ba2dcc589253fb8bf3feb90ba595e3e371af5 Mon Sep 17 00:00:00 2001 From: zhangzhi Date: Thu, 25 Jan 2018 09:46:03 +0800 Subject: [PATCH] =?UTF-8?q?iOS10=E6=8E=A8=E9=80=81=E5=89=8D=E5=8F=B0?= =?UTF-8?q?=E5=9B=9E=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/RCTMIPushModule/RCTMIPushModule/RCTMIPushModule.m | 1 + 1 file changed, 1 insertion(+) 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); } // 点击通知进入应用