phonegap/phonegap-plugins — comment on commit 7729ad9c686842846a71bfb9dcaa683c08c7b7c7
File:  line 0
By marcucio:

The project now complains about JSONKit.h, we should either sterilize things differently, ie:

NSString *js = [NSString stringWithFormat:@"%@('%@','%@','%@','%@')", successCallback, [product.productIdentifier stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding], [product.localizedTitle stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding], [product.localizedDescription stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding], [product.localizedPrice stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];

(and unescape in the js file)

or explain in the read me where to get JSONKit.h

or maybe I am missing something