I have an app that on the device needs to know if it is in apple sandbox mode or a released version from the store.
Currently I set a bool in the code but sometimes I forget to set it to not sandboxed when I release it to ITC.
I’d like to make this check automatic on the device, any ideas?
Just to clarify it’s for when I send the base64encoded receipt to apple for a decoded receipt, I need to send it to one of 2 different apple URL’s depending on wether the app is in sandbox (still in development) or released to the public and for sale.