1
Ask a Question / Accessing old data files from Stencyl 2.x on iOS
« on: January 20, 2016, 12:55:02 pm »
Hi guys,
A few years ago I made Simple Mind Games for iOS with Stencyl 2.x in March 2013.
I've been refreshing the whole game with Swift and have come across a problem. I had an IAP which unlocks the full game.
I've looked back and found this line:
if ([[Game game] purchasedProduct:@"001"]) {}
So the Stencyl engine must of had a purchasedProduct function that checked a bool somewhere. I'm guessing that bool must of been stored in the app container somewhere.
Does anyone have any ideas how I can check if the user has already purchased the upgrade?
Tom
A few years ago I made Simple Mind Games for iOS with Stencyl 2.x in March 2013.
I've been refreshing the whole game with Swift and have come across a problem. I had an IAP which unlocks the full game.
I've looked back and found this line:
if ([[Game game] purchasedProduct:@"001"]) {}
So the Stencyl engine must of had a purchasedProduct function that checked a bool somewhere. I'm guessing that bool must of been stored in the app container somewhere.
Does anyone have any ideas how I can check if the user has already purchased the upgrade?
Tom