Let's say an app was installed from the App Store on October 20 2017. The user deleted the app a month ago and reinstalled the app today.
Would the receipt's Creation Date be October 20, 2017, or today's date?
And a follow-up question is, does this behavior change if the app is running in the sandbox environment?
I could not find any of this information in the Apple documentation, nor in any other posts in any developer forums. I tried investigating this by checking the receipt creation date when running a debug build, but kept getting the current date.
Also posted this question on the Apple Developer forums.
Yes, the app's receipt creation date gets reset after an app delete (this is for apps without auto-renewal subscriptions)
I tested this by NSLogging the receipt creation date and testing with an app downloaded from the app store.