See the link https://developer.apple.com/app-store/promoting-in-app-purchases/
Also in app store:
App Store Promotion (Optional)
To promote this subscription on the App Store, add a 1024 x 1024 pixel promotional image below. It'll appear on your app's product page and when a customer redeems an offer code. Promotional images may also appear in search results or be featured by the editorial team. You can promote up to 20 in-app purchases at a time. Make sure your app supports either PurchaseIntent or paymentQueue(_:shouldAddStorePayment:for:). Learn More
Found that it is possible with native code.
But on react-native sdk i don’t know is it possible if not want to feature request. Thanks.
from a different library solution does revenuecat have this ?
i found that flutter sdk andreact-native handles this problem via addShouldPurchasePromoProductListener
but it is not in docs. if anyone need i leave it here the implementation.
Hi, RevenueCat does support App Store Promotions.Those Github issue threads are good places to check for this. Also note that RevenueCat does support the SKPaymentTransactionObserver method, and that RevenueCat automatically registers an
SKPaymentTransactionObserverwhen you configure an instance of Purchases. You'll need to implement the delegate method shouldPurchasePromoProduct: https://docs.revenuecat.com/docs/configuring-sdk#ios