Skip to main content
This guide covers migrating from Permutive Android SDK v1.9.x to v1.10.x, which introduces contextual cohorts, Dagger dependency injection, and several improvements.
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

1

Update Dependencies

Update your build.gradle.kts or build.gradle:
2

Sync and Rebuild

3

Test Your Integration

Your existing code will continue to work without changes. Test to ensure:
  • Events are still being tracked
  • Cohorts are being received
  • Ad targeting is working

Using New Features

Contextual Cohorts

Contextual cohorts are automatically enabled if your workspace has the feature activated. No code changes required!
If you’re using our add-on libraries, contextual cohorts are automatically included:Google Ad Manager:
Xandr/AppNexus:
See the Contextual Data Guide for full documentation.

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.
If your app also uses Dagger and you experience conflicts:
  1. Check your Dagger version matches or is compatible with v2.53.1
  2. Don’t exclude Dagger from the Permutive SDK dependencies:

Testing Your Migration

Enable debug logging and verify events are still being tracked:
Look for:
Verify behavioral cohorts are still working:
If contextual is enabled for your workspace:
Verify ads are still loading with targeting:

Rollback

If you need to rollback to v1.9.x:
Then sync and rebuild.

Requirements

v1.10.0 maintains the same minimum requirements as v1.9.x:

Getting Help

Issues

Solutions to common issues

Contextual Data

Full contextual documentation

Google Ad Manager

GAM integration guide

Cohorts & Activations

Understanding segments