[React-Native] Does RevenueCat handles AppStore Promotion

  • 18 May 2023
  • 2 replies

Badge +1

See the link

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.

2 replies

Userlevel 4
Badge +8

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 SKPaymentTransactionObserver when you configure an instance of Purchases. You'll need to implement the delegate method shouldPurchasePromoProduct:

Badge +2

@Haley Pace do you have an example by any chance of how to implement “addShouldPurchasePromoProductListener”