fix when app not launch tap notification,and not receice jpush.openNotification

This commit is contained in:
zhangqinghe 2015-04-14 16:15:25 +08:00
parent 93fbc893ca
commit ce8ca9f8f8

View File

@ -42,7 +42,7 @@ static NSDictionary *_luanchOptions=nil;
name:kJPushPluginReceiveNotification
object:nil];
if (!_luanchOptions) {
if (_luanchOptions) {
NSDictionary *userInfo = [_luanchOptions
valueForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
if ([userInfo count] >0) {