Users on iOS 14 and iPadOS 14 and later can redeem offer codes on the App Store through a one-time code redemption URL, or within your app if you’ve implemented the presentCodeRedemptionSheet API.
Apple recommends using offer codes directly in your app via a redemption sheet.
To allow your users to redeem Offer Codes, present the Offer Code redemption sheet.
Set up offer codes
Set up the offer codes before testing. See the details on setting up offer codes here.
If you need to get the results immediately after a user enters a promo code, please check the deferred purchases documentation.
If a promo code was successfully applied,
checkPermissions() returns the updated permissions.
Updated 4 months ago