From 4ed04f68373d282bddedb2652c238c9a9038c88b Mon Sep 17 00:00:00 2001 From: DarrenHou Date: Tue, 20 Oct 2020 15:10:56 +0800 Subject: [PATCH] Update AppDelegate+JPush.m :fix openNotification not fire --- src/ios/Plugins/AppDelegate+JPush.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/Plugins/AppDelegate+JPush.m b/src/ios/Plugins/AppDelegate+JPush.m index 81e78200..ab5868b8 100644 --- a/src/ios/Plugins/AppDelegate+JPush.m +++ b/src/ios/Plugins/AppDelegate+JPush.m @@ -41,7 +41,7 @@ -(void)applicationDidLaunch:(NSNotification *)notification{ }]; if (notification != nil && - [[UIDevice currentDevice].systemVersion floatValue] < 10.0) {// iOS 10 以后通过 openNotification 这个回调触发事件。 + [[UIDevice currentDevice].systemVersion floatValue] >= 10.0) {// iOS 10 以后通过 openNotification 这个回调触发事件。 if (notification.userInfo) { if ([notification.userInfo valueForKey:UIApplicationLaunchOptionsRemoteNotificationKey]) {