Migration Difficulty: Very Easy | Estimated Time: 15 minutes | Breaking Changes: None
What’s New in v1.10.0
Contextual Cohorts
Content-based segmentation for real-time targeting
Dagger Integration
Internal dependency injection framework (v2.53.1)
Google Ads 2.2.0
Automatic contextual cohort targeting for GAM
AppNexus 1.7.0
Automatic contextual cohort targeting for Xandr
Good news: This release is fully backward compatible with no breaking changes or deprecations.
Migration Steps
Using New Features
Contextual Cohorts
Contextual cohorts are automatically enabled if your workspace has the feature activated. No code changes required!Accessing Contextual Cohorts
Accessing Contextual Cohorts
Automatic Ad Integration
Automatic Ad Integration
If you’re using our add-on libraries, contextual cohorts are automatically included:Google Ad Manager:Xandr/AppNexus:
Dagger Integration
v1.10.0 introduces Dagger for internal dependency management. This is an internal implementation detail.No action required. Dagger is used internally by the SDK and doesn’t require any changes to your code.
Resolving Dagger Conflicts
Resolving Dagger Conflicts
If your app also uses Dagger and you experience conflicts:
- Check your Dagger version matches or is compatible with v2.53.1
- Don’t exclude Dagger from the Permutive SDK dependencies:
Testing Your Migration
1. Verify Events
1. Verify Events
Enable debug logging and verify events are still being tracked:Look for:
2. Check Cohorts
2. Check Cohorts
Verify behavioral cohorts are still working:
3. Test Contextual (if enabled)
3. Test Contextual (if enabled)
If contextual is enabled for your workspace:
4. Test Ad Integration
4. Test Ad Integration
Verify ads are still loading with targeting:
Rollback
If you need to rollback to v1.9.x:Requirements
v1.10.0 maintains the same minimum requirements as v1.9.x:| Requirement | Version |
|---|---|
| Android API | 21+ (Android 5.0) |
| Compile SDK | 34+ |
| Kotlin | 1.6+ (if using Kotlin) |
| Java | 8+ (JVM target 1.8) |