Receipt status for brand new app installs

Hi all,

I've been working to integrate auto-renewing subscriptions into an app using the original StoreKit API, and there's something I couldn't figure out by reading the docs.

When a first time user installs my free app from the AppStore, will there be a receipt at the Bundle.main.appStoreReceiptURL? If not, what will happen if I try to refresh the receipt using a SKReceiptRefreshRequest ?

I'm trying to find out whether there will be a valid receipt with no transaction data in it, or there won't be a receipt at all.

Thanks

Receipt status for brand new app installs
 
 
Q