I have all of my in-app purchases setup and working in my game. I have JSON configured so that I can store whether or not an item has been purchased and assign this to a variable. When an item is purchased, I set a Boolean to true and I also write the JSON value as true and when I go back to the menu, the item is unlocked. The problem is if I relaunch the app, the items is locked again and when I print the JSON Boolean value it returns as false thus hinting me to believe that it is writing properly. I would appreciate some suggestions as to how I should fix this as this is the only thing stopping me from launching my app
Thanks