Commit eaa35350 by Sparsh

iOS 10 local notifications click event fired

parent 706df503
...@@ -734,8 +734,9 @@ ...@@ -734,8 +734,9 @@
NSLog(@"add NotificationRequest succeeded!"); NSLog(@"add NotificationRequest succeeded!");
} }
}]; }];
} else { }
if ((IsAtLeastiOSVersion(@"10.0") && [event isEqual: @"click"]) || !IsAtLeastiOSVersion(@"10.0")) {
NSString* js; NSString* js;
NSString* params = [NSString stringWithFormat: NSString* params = [NSString stringWithFormat:
@"\"%@\"", self.applicationState]; @"\"%@\"", self.applicationState];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment