Question

Hiding Consumables from Users

  • 6 November 2023
  • 0 replies
  • 37 views

Badge +3

I want to have a lifetime free premium offer for me and contributors. Instead of creating my own backend for this, I want to use RevenueCat as well.

In AppStoreConnect, the longest subscription I can offer for free is one year, which is not sufficient.
Therefor I made a non-consumable in AppStoreConnect and connected it to RevenueCat.
I will implement my own logic to manage which promoCode is valid for a free lifetime subscription.
I have the following two questions:
 

  1. Can I reliably hide this non-consumable from those who are not meant to see it? In AppStoreConnect there is no way to add logic to who can see it, so does that mean if I simply never show it in my app, nobody can access it? Because I know that for subscriptions, when going to cancel in the apple settings, one can see multiple offers, and I don’t want this non-consumable to show up in any place unless with my dedicated UI for it.
  2. Is the following implementation something that would work for what I’m trying to do?
     
  •  Get promo code from text form
  • Retrieve product identifier corresponding to promo code from my backend
  •  Get products from RevenueCat with product identifier
  • Show Offer to user
Dart Code Implementation

 

I hope I explained well and thanks for taking the time to answer my question!
Jacob


0 replies

Be the first to reply!

Reply