InAppPurchase with phonegap 1.4.1

时间:2012-08-01 13:52:51

标签: cordova

InAppPurchase with phonegap 1.4.1或任何phonegap版本,请提供帮助,我收到以下错误。

[Switching to process 26511 thread 0x2303]
2012-08-01 08:55:45.189 FlightAttendantAnnouncementsLite[26511:207] Device initialization: DeviceInfo = {"name":"iPhone Simulator","uuid":"4D6664CE-E202-5EFF-8139-97F2021DD185","platform":"iPhone Simulator","gap":"1.4.1","version":"5.0","connection":{"type":"wifi"}};
2012-08-01 08:55:45.218 FlightAttendantAnnouncementsLite[26511:207] PGPlugin class  (pluginName: InAppPurchaseManager) does not exist.
2012-08-01 08:55:45.219 FlightAttendantAnnouncementsLite[26511:207] ERROR: Plugin 'InAppPurchaseManager' not found, or is not a PGPlugin. Check your plugin mapping in PhoneGap.plist.
2012-08-01 08:55:45.220 FlightAttendantAnnouncementsLite[26511:207] FAILED pluginJSON = {"className":"InAppPurchaseManager","methodName":"setup","arguments":[]}

1 个答案:

答案 0 :(得分:0)

您应该使用密钥InAppPurchaseManager来修复Cordova.plist,它的值为InAppPurchaseManager。

也许它在1.4.1版本上有所不同(我在2.0.0上工作)

我从2天开始工作并得到了这个错误。但我不能用它,我希望你有比我更多的机会......