Skip to main content
Solved

In-app Promo


tobysola1
Forum|alt.badge.img+9

Hi,

 

Is it possible for the RC in-app SDK to grant a user a promo (free access) using the public key? We do this with our website, but I want to deep link certain users to get free access. So I want to use the RC SDK to start RC promos. Is this possible?

 

Thanks, 

 

Toby

Best answer by Jacob Eiting

Hey Toby!

 

So I think you’re asking about our “promotional entitlements”, the thing you can grant manually in the UI. 

 

It’s only possible with a private key, since leaking the key would allow anyone to grant anyone else an entitlement (assuming your user IDs aren’t obsfucated in some way)

 

I’d suggest creating a server that has an endpoint that will do this with a private key, and let your app call it. Then you can decide the security you’re comfortable with on that endpoint for your app/use case.

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

2 replies

Jacob Eiting
RevenueCat Staff
Forum|alt.badge.img+5
  • RevenueCat Staff
  • 35 replies
  • Answer
  • May 3, 2022

Hey Toby!

 

So I think you’re asking about our “promotional entitlements”, the thing you can grant manually in the UI. 

 

It’s only possible with a private key, since leaking the key would allow anyone to grant anyone else an entitlement (assuming your user IDs aren’t obsfucated in some way)

 

I’d suggest creating a server that has an endpoint that will do this with a private key, and let your app call it. Then you can decide the security you’re comfortable with on that endpoint for your app/use case.


tobysola1
Forum|alt.badge.img+9
  • Author
  • Dedicated Member
  • 16 replies
  • May 3, 2022

Hi Jacob,

 

Sweet I’ll do that. We already have the endpoint set up for our web app. So it should be easy to point the mobile app there. 

 

FYI - We’re decommissioning our web app/Stripe and pushing all users (even via email campaigns) to IAPs. As a small team, one less store is one less headache! And Apple’s 15% is probably worth the ability to use their payment system. We’ll report back on how this goes 🤞🏻

 

Pretty rad to get a reply from the CEO! Your presence has inspired me as a CEO to spend time hanging out with my power users : )

 

Have a nice week, 

 

Toby 


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