iOS Offer codes
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?
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!
Discussed in #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?
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!
Same here.. any solution to this??
wait how did you get promo codes working.. #2715
Hi !
Did you find a solution ?
Discussed in #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?
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!
Hi! I am also getting this issue. Any solution of this ?
Same here - Any Updates or Solutions ?
Same here - Any Updates or Solutions ?
You can test offer codes using .storekit file.
You have to add .storekit file from Xcode and also you have to select that file from scheme>Edit scheme>Option tab>Storekit Configuration>Select that .storekit file and than you can testing that offer codes in development mode.
And yes, This is only for development mode for test, while in Production mode when app is install from AppStore it is not needed, offercodes will directly work with app store connect, so don't forget to remove that selected file to "none" when you make production build or etc.
Ok. Thank you
I’m closing all issues reported in versions below 14, as the library now supports the new architecture with NitroModules and has been completely revamped.
