Skip to content

v1.4.0 - RevenueCat Targeting & Attribution Control

Choose a tag to compare

@michaelbutler1998 michaelbutler1998 released this 01 Feb 18:54
· 35 commits to main since this release
9df4189

What's New

RevenueCat Targeting Support

  • Callback now includes offerCode parameter: onIdentifierChanged(String identifier, String offerCode)
  • Added getAffiliateExpiryTimestamp() for RevenueCat targeting rules
  • Documentation for setting affiliateOfferCode separately for targeting to work reliably

Attribution Control

  • New preventAffiliateTransfer parameter in init() to lock first affiliate attribution
  • When enabled, new affiliate links won't overwrite existing attribution

API Changes

  • setInsertAffiliateIdentifierChangeCallback() now accepts Activity parameter and fires immediately with existing values
  • retrieveAndStoreOfferCode() now triggers callback after storing

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