Hi happymongoose.
Can you think of any reason why I am not getting an inventory file showing up in my sandbox?
Do we need to specify a baseDirectory or is it’s default system.DocumentsDirectory?
Should it be a txt file or a json file?
Will the plugin create the file if it doesn’t exist?
Basically it seems to be working fine in terms of initialising and making purchases ( so far on simulator in debug mode ). The function I set for onPurchase in the catalogue table is getting called, I know this from debug console printing, but the part within this where I call iap.setInventoryValue( ‘isPremium’, true ) is not working. Firstly there is no file in the sandbox and secondly when I later call iap.printInventory(), it just prints out an empty json array string.
I’m clearly doing something wrong but what could that be?
Cheers
Jules