Closed dhavaln closed 8 years ago
#define END_ARGCHECKWRAPPER \ pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsArray:returnArgs]; \ javaScript = [pluginResult toSuccessCallbackString:localCallbackId]; \ } @catch (id exception){ \ pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_JSON_EXCEPTION messageAsString:[exception reason]]; \ javaScript = [pluginResult toErrorCallbackString:localCallbackId]; \ } \ [self writeJavascript:[NSString stringWithFormat:@"window.setTimeout(function(){%@;},0);", javaScript]];
I am getting Expected Expression while calling the above function. It works fine with Cordova iOS 3.8 but fails with Cordova iOS 4.1.1.
Expected Expression
I am getting
Expected Expression
while calling the above function. It works fine with Cordova iOS 3.8 but fails with Cordova iOS 4.1.1.