phonegap/phonegap-plugins — pull request #217 by buddydvd (2011-11-02 19:51:31+00:00)
Title: Make iOS's InAppPurchaseManager serialization fix backward compatible.

Make InAppPurchaseManager plugin fix backward compatible with older version of PhoneGap.

The newest version of PhoneGap (or Apache Callback) has switched from using SBJson to JSONKit. If JSONKit is available, we use its `JSONString` implementation, otherwise, use SBJson's `JSONRepresentation` implementation.

Also, this commit fixes callback arguments for requestProductData and updatedTransactionCallback.