Skip to content

v2.3.0 - RevenueCat Targeting & Attribution Control

Choose a tag to compare

@michaelbutler1998 michaelbutler1998 released this 01 Feb 19:01
· 40 commits to main since this release
70d7056

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
  • When enabled, new affiliate links won't overwrite existing attribution

API Changes

  • setInsertAffiliateIdentifierChangeCallback() fires immediately with existing values
  • Callback signature updated to (String?, String?) -> Void (identifier, offerCode)

Documentation

  • Added RevenueCat targeting section with separate setAttributes() call pattern
  • Added optional "skip attribution for existing subscribers" code example
  • Updated all callback examples to include offerCode parameter

Swift Package Manager

Add via SPM: https://github.com/Insert-Affiliate/InsertAffiliateSwift.git branch main or exact version 2.3.0