|
@@ -604,6 +604,9 @@
|
|
|
NSString* json = notification.options.json;
|
|
NSString* json = notification.options.json;
|
|
|
NSString* args = [notification encodeToJSON];
|
|
NSString* args = [notification encodeToJSON];
|
|
|
|
|
|
|
|
|
|
+ json = [json stringByReplacingOccurrencesOfString:@"'"
|
|
|
|
|
+ withString:@"\\\\\\'"];
|
|
|
|
|
+
|
|
|
params = [NSString stringWithFormat:
|
|
params = [NSString stringWithFormat:
|
|
|
@"\"%@\",\"%@\",\\'%@\\',JSON.parse(\\'%@\\')",
|
|
@"\"%@\",\"%@\",\\'%@\\',JSON.parse(\\'%@\\')",
|
|
|
id, self.applicationState, json, args];
|
|
id, self.applicationState, json, args];
|