Hi guys,
I have a bug on ios. When I call setListener for the IAP plugin and next I call cc.game.restart() => the game has crashed.
this my code:
sdkbox.IAP.setListener({
onSuccess : function (product) {
//seft.onSuccess(product);
},
onFailure : function (product, msg) {
//seft.onFailure(product, msg);
},
onCanceled : function (product) {
//seft.onCanceled(product);
},
onRestored : function (product) {
//seft.onRestored(product);
},
onProductRequestSuccess : function (product) {
//seft.onProductRequestSuccess(product);
},
onProductRequestFailure : function (msg) {
//seft.onProductRequestFailure(msg);
}
});
this sreenshot for bug:
http://prntscr.com/inf9f5
tks lot,