react-native-iap icon indicating copy to clipboard operation
react-native-iap copied to clipboard

iOS Offer codes

Open benglasgow opened this issue 3 months ago • 0 comments

Discussed in https://github.com/dooboolab-community/react-native-iap/discussions/2697

Originally posted by benglasgow March 2, 2024 I read through the app store connect docs on how to set up an offer code, but I'm still confused on how to properly set up and use offer codes for a subscription.

I was able to get promo codes working and introductory codes working, but I'm looking to specifically set up offer codes.

My questions are:

1.) Do I use presentCodeRedemptionSheetIOS? If so, why do I keep getting an error that looks like this?

image

2.) If I don't use a redemption sheet, what do I use to redeem offer codes?

3.) Is there some step that's not intuitive/documented that I might be missing when it comes to setting this up? I have the offer code set up in app store connect, and I also have a custom code created for offer code.

I'd be happy to do some documenting to help people out with this in the future if that's helpful.

Any and all help is welcome.

Thank you!

benglasgow avatar Mar 20 '24 00:03 benglasgow