Skip to main content
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?

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


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!


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.


Reply