Jump to Content
Adapty DocumentationHomeDiscussions
HomeDocumentationDiscussions
HomeDiscussionsSign InSign Up for FreeAdapty Documentation
Sign InSign Up for Free

Discussions

Ask a Question
ANSWERED

React native - subscribe with a promo-code (IOS)

We developed our coupon system and linked it with the app, but Apple refused the app and enforcing us to use their promotion system I found some challenges to use the coupon code with the available RN IAP library so, I used Adapty to make the things more simple I use this code to show the promo-code sheet adapty.promo.presentCodeRedemptionSheet() but it does not show anything however adapty.promo.canPresentCodeRedemptionSheet() return true also adapty.promo.getPromo() return null I'm trying to list the available products, each product have ios.discounts as empty array however my product have ios discounts !!! adapty.paywalls.getPaywalls().then((data) => { data.products.map((d) => { console.log(d); }); }); I cannot find a clear way to implement this coupon code
rn
Posted by Ahmed Mohsen about 1 year ago
  • starFAQs
  • trending-upRecent
  • awardPopular
  • callout-infoUnanswered
a/baccess leveladjustanalyticsandroidapiapp storeappleapple connectappmetricaappsflyerasabest practicescode 1001consumablescountrycurrencydashboardfaq_feedbackfluttergoogleidentifyingidfaintegrationsintroductoryofferiosipmetricspaywallsproductspurchaserinfopurchasespush notificationsreact nativerevenuernsandboxsdkservice account key filesubscriptionstrialunity