Present screen to redeem offer codes in apps running iOS 14 and later.


Note this call only works in Apple Apps running iOS 14+.

[NamiPurchaseManager presentCodeRedemptionSheet];

On cross-platform frameworks, there is an optional method to check if that looks at the platform and determines if the call can be made. If you omit this check, the method will not do anything on Android devices, but you may optionally avoid making the call entirely, or take some other action if it is invoked on an Android device.

  (purchased) => {
    if (purchased) {