Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Chat / InAppPurchaseRestore causes a crash on iOS. Suggestions greatly appreciated!

Author
Message
nickshepherd
4
Years of Service
User Offline
Joined: 19th Jun 2013
Location: The Land of Game Development
Posted: 4th Jan 2018 23:52
Hello,

I know with a previous update of AppGameKit that "Fixed InAppPurchaseRestore causing a crash on iOS", but when I call InAppPurchaseRestore, my game crashes. Can someone please help? Thank you!

This is what I call as the game first loads:
ItemPurchased = 0

If GetDeviceBaseName() = "ios"
InAppPurchaseSetTitle("GameName")
InAppPurchaseAddProductID("ConsumableID",1)
InAppPurchaseAddProductID("ConsumableID",1)
InAppPurchaseAddProductID("ConsumableID",1)
InAppPurchaseAddProductID("ConsumableID",1)
InAppPurchaseAddProductID("NONConsumableID",0)
InAppPurchaseSetUp()

InAppPurchaseRestore()
If GetInAppPurchaseAvailable(4) = 1
GetInAppPurchaseSignature(4)
ItemPurchased = 1
Endif

Login to post a reply

Server time is: 2018-04-25 07:39:20
Your offset time is: 2018-04-25 07:39:20