Skip to content

v1.2.0

Choose a tag to compare

@michaelbutler1998 michaelbutler1998 released this 23 Nov 17:46
· 51 commits to main since this release

🎉 What's New in v1.2.0

This release adds new affiliate validation and details retrieval methods to the Android SDK, bringing it in line with our
other SDKs (Flutter, Swift, Unity, JavaScript).

✨ New Features

getAffiliateDetails() Method

  • Retrieve affiliate information without setting it as the active affiliate
  • Returns affiliate name, short code, and deeplink URL
  • Perfect for displaying affiliate info to users before they commit

Enhanced setShortCode() Method

  • Now validates short codes against the API before storing
  • Returns validation result via callback (true if valid, false if invalid)
  • Provides immediate user feedback on code validity

🔧 Improvements

  • Updated validation logic - Now supports 3-25 character short codes (previously restricted to 10)
  • Added callback interfaces - ShortCodeValidationCallback and AffiliateDetailsCallback for async operations
  • Comprehensive documentation - Updated README with detailed examples and usage patterns