Skip to content

Commit 13e40ba

Browse files
nattb8claude
andcommitted
chore(audience-sample): declare install referrer dependency in gradle template
The sample no longer gets the Install Referrer Library from a bundled AAR, and it doesn't use EDM4U, so it declares the Maven dependency manually in mainTemplate.gradle - the documented fallback path. Verified the resulting App Bundle includes the installreferrer classes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent d36a75e commit 13e40ba

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

examples/audience/Assets/Plugins/Android/mainTemplate.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ apply plugin: 'com.android.library'
2222
dependencies {
2323
implementation fileTree(dir: 'libs', include: ['*.jar'])
2424
**DEPS**
25+
// Google Play Install Referrer Library, resolved from Maven (the Audience
26+
// package no longer bundles it as an .aar - it conflicted with other SDKs).
27+
// EDM4U projects get it automatically from ImmutableAudienceDependencies.xml;
28+
// this sample has no EDM4U, so it declares the dependency manually.
29+
implementation 'com.android.installreferrer:installreferrer:2.2'
30+
2531
// Uncomment to enable GAID collection (requires AUDIENCE_MOBILE_ATTRIBUTION
2632
// scripting define + AudienceConfig.EnableMobileAttribution). Without this
2733
// line the SDK still builds and runs, but `gaid` / `gaidLimitAdTracking`

0 commit comments

Comments
 (0)