AnySDK在Creator1.5.2beta2下AppStore单机版内购是不是不能用了?

最近把Creator升级到1.5.2beta2版本,之前按照Creator提供的Sample程序编写的代码无法使用(1.4.x版本下是正常的)。

这样使用 :this._iapPlugin = anysdk.agentManager.getIAPPlugin(); 会报anysdk.agentManager is undefined;

修改成var agentManager = anysdk.AgentManager.getInstance(); 后,调用 agentManager.getIAPPlugin() ,返回的是一个数字,控制台中会输出:key : 221。显然,想调用ProtocolIAP对象的方法是不可能了。

于是猜想这个数字可能是pluginID,想通过agentManager.getIAPPlugins();获得具体的plugin,结果,直接报getIAPPlugins is not a function。。。。。

这,要我怎么搞???