mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-19 05:22:57 +08:00
Update AppDelegate+JPush.m
:fix openNotification not fire
This commit is contained in:
parent
07466a8718
commit
4ed04f6837
@ -41,7 +41,7 @@ NSDictionary *_launchOptions;
|
||||
}];
|
||||
|
||||
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]) {
|
||||
|
Loading…
Reference in New Issue
Block a user