Solved

React native - subscribe with a promo-code (IOS)

  • 31 January 2022
  • 1 reply
  • 725 views

Badge +1

I cannot find a clear way to implement the IOS promo codes inside React Native

 

surely, I followed the documentation here : https://docs.revenuecat.com/docs/ios-subscription-offers

 

I tried both offer codes and the promotional offers

 

the promotional offers could not be used, it fired error,

this offer is ineligible for the current user

looks these promotional offers cannot be used for the new users

 

so I had to switch to the offer codes, I tried to open the sheet

Purchase.presentCodeRedemptionSheet();

 

it does not show anything, neither give me any errors to know what’s happening

 

 

 

Apple forcing us to use their promotional system to pass the app review and publishing to the store

My client application is delayed for a months because of this feature

 

 

icon

Best answer by cody 4 February 2022, 22:29

View original

1 reply

Userlevel 6
Badge +8

@Ahmed Mohsen,

Since the `presentCodeRedemptionSheet` method uses Apple’s underlying method, we don’t have a lot of insight into why it wouldn’t present the sheet. Can you confirm you’re using iOS14+ and have opened the App Store on your device to accept their terms? That’s required before the offer code sheet will display. You can read more about offer codes in our docs here: https://docs.revenuecat.com/docs/ios-subscription-offers

Reply