> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.qonversion.io/llms.txt
> Use this file to discover all available pages before exploring further.

# App Store Offer Codes

## Redeeming Apple Offer Codes

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.

Present the Offer Code redemption sheet to allow your users to redeem Offer Codes.

<CodeGroup>
  ```swift Swift theme={null}
  Qonversion.shared().presentCodeRedemptionSheet()
  ```

  ```objectivec Objective-C theme={null}
  [[Qonversion sharedInstance] presentCodeRedemptionSheet]
  ```

  ```dart Flutter theme={null}
  Qonversion.getSharedInstance().presentCodeRedemptionSheet();
  ```

  ```typescript React Native theme={null}
  Qonversion.getSharedInstance().presentCodeRedemptionSheet();
  ```

  ```csharp Unity theme={null}
  Qonversion.GetSharedInstance().PresentCodeRedemptionSheet();
  ```

  ```typescript Cordova theme={null}
  Qonversion.getSharedInstance().presentCodeRedemptionSheet();
  ```
</CodeGroup>

<Warning>
  ### Set up offer codes

  Set up the offer codes before testing. See the details on setting up offer codes [here](https://help.apple.com/app-store-connect/#/dev6a098e4b1).
</Warning>

## Handling Results

If you need to get the results immediately after a user enters a promo code, please check the [deferred purchases](deferred-purchases) documentation. If a promo code was successfully applied, `checkEntitlements()` returns the updated entitlements.

<Note>
  When a redeemed offer code applies to a Family Sharing-enabled subscription, the entitlement may be granted to a different family member. In that case `checkEntitlements()` on the redeeming device will not reflect the new entitlement. See [Apple Family Sharing](apple-family-sharing) for the family-aware entitlement model.
</Note>

***

[Apple App Store](apple-app-store)

[App Store Privacy](app-store-privacy)
