Skip to main content
Solved

Apply IOS promotional offer with Cordova purchases plugin


Forum|alt.badge.img+1
I am using the Cordova RevenueCat plugin. I've read through the documentation https://www.revenuecat.com/docs/ios-subscription-offers#promotional-offers.
 
The code examples there don't mention Cordova/Ionic. So then, I've looked through the Cordova plugin source code but was still unable to find out how to let a user purchase a product with a promotional offer.
 
Is it possible to allow a user to utilize a promotional offer using the Cordova plugin? If so, how?

Best answer by kaitlin

Hey Rafeal!

We’re discussing this in a support ticket as well but I wanted to answer here for visibility as well for any future developers with the same question. 

Unfortunately, promotional offers are not available for Cordova at this time. While this is planned for the future, I don’t have an ETA on it at this time. 

In the meantime, a good workaround is to use Offer Codes, specifically option two here in the docs: https://www.revenuecat.com/docs/ios-subscription-offers#option-2-redirect-to-app-store-app

View original
Did this post help you find an answer to your question?
This post has been closed for comments

3 replies

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 396 replies
  • Answer
  • May 9, 2023

Hey Rafeal!

We’re discussing this in a support ticket as well but I wanted to answer here for visibility as well for any future developers with the same question. 

Unfortunately, promotional offers are not available for Cordova at this time. While this is planned for the future, I don’t have an ETA on it at this time. 

In the meantime, a good workaround is to use Offer Codes, specifically option two here in the docs: https://www.revenuecat.com/docs/ios-subscription-offers#option-2-redirect-to-app-store-app


Forum|alt.badge.img+1

Thanks Kaitlin,

We have explored offer codes as a workaround, while viable, the user journey is less optimal (the user needs to redeem the code via the Apple code redemption sheet, then additionally, accept the subscription prompt).

Since we also want to make use of multiple Offers in Android (and it’s only supported in the Android SDK), we’ve decided to write our own Capacitor plugin that makes use of the native RC IOS and Android SDKs.

 

Thanks so much for all the help and patience!


Forum|alt.badge.img+3

We’re also planning to use promotional offers, since the UX with offer-codes is rather poor.

 

I would really appreciate a solution for for this soon. 

Since we don’t have any skill in Swift development, we unfortunately can’t offer a pull-request.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings