iaphub / react-native-iaphub

The easiest way to implement IAP (In-app purchase) in your React Native app.
https://www.iaphub.com/
MIT License
317 stars 21 forks source link

[iOS] Promotional code and subscription not working in App store build for IOS #143

Closed govindaBump closed 11 months ago

govindaBump commented 1 year ago

Hi guys, Promotional code and subscription not working in App store build for IOS All works fine for the staging and sandbox environments.

"react-native": "0.69.7" "react-native-iaphub": "8.4.2"

iaphub commented 1 year ago

Can you give more details @govindaBump? If you mean you can't enter the promo code in the code redemption sheet (https://github.com/iaphub/react-native-iaphub#present-code-redemption-sheet-ios-only) it isn't related to the plugin.

kodie commented 1 year ago

@iaphub My promo codes are able to be entered from the app store, but in the redemption sheet I get this message:

IMG_0245

What seems odd to me is the "appName" and "Subscription Offer". Is there more configuration that needs to be done in the app to allow code to be entered into the redemption sheet?

iaphub commented 11 months ago

It looks like a bug with Apple (you can contact the Apple support if needed). This modal is handled directly by iOS, not IAPHUB. Make sure you're using the last version of iOS. Also make sure you're not testing in sandbox (by running the app directly on your phone in local, it won't work unfortunately).