How to make one product available to both platforms if purchased from one of them?

  • 2 August 2021
  • 1 reply

Badge +1

I create two different identifier for a non-consumable product for both android and ios.

How can I make the product available to other platform if I purchased it in the other one?


Best answer by cody 2 August 2021, 17:52

View original

1 reply

Userlevel 5
Badge +8

Hey @Curious Jane!

This is a great use-case for our Offerings and Entitlements system with custom App User IDs. In your case, you would do the following:

  1. Create products in each store
  2. Add your products to RevenueCat
  3. Create an Offering in RevenueCat, create a package, and add each product to the package
  4. Attach the products to an Entitlement in RevenueCat

When a purchase occurs on either platform for a user ID, the entitlement will be unlocked for that user. You can then check if the entitlement is active between platforms to determine whether you should provide premium access.

You can read more about Offerings and Entitlements here.