Repository navigation
v1.2.0
🎉 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 -
ShortCodeValidationCallbackandAffiliateDetailsCallbackfor async operations - Comprehensive documentation - Updated README with detailed examples and usage patterns