Skip to content

v1.12.0 - RevenueCat Targeting & Attribution Control

Choose a tag to compare

@michaelbutler1998 michaelbutler1998 released this 01 Feb 18:55
· 47 commits to main since this release

What's New

RevenueCat Targeting Support

  • Callback now includes offerCode parameter
  • Added getAffiliateExpiryTimestamp() for RevenueCat targeting rules
  • Documentation for setting affiliateOfferCode separately for targeting

Attribution Control

  • New preventAffiliateTransfer parameter to lock first affiliate attribution
  • Added usePreventAffiliateTransfer hook
  • When enabled, new affiliate links won't overwrite existing attribution

API Changes

  • setInsertAffiliateIdentifierChangeCallback fires immediately with existing values
  • retrieveAndStoreOfferCode() now triggers callback after storing

Documentation

  • Added RevenueCat targeting section
  • Added optional "skip attribution for existing subscribers" code example
  • Updated all callback examples to include offerCode parameter