Skip to content

Commit 4ecca14

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 8c03748 commit 4ecca14

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ apply plugin: 'com.android.library'
2222
dependencies {
2323
implementation fileTree(dir: 'libs', include: ['*.jar'])
2424
**DEPS**
25-
// Google Play Install Referrer Library. The Audience package no longer
26-
// bundles this as an .aar (it conflicted with other SDKs); it's resolved
27-
// from Maven instead. Projects using EDM4U get it automatically from the
28-
// package's ImmutableAudienceDependencies.xml - this sample has no EDM4U,
29-
// so it declares the dependency manually (the documented fallback).
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.
3029
implementation 'com.android.installreferrer:installreferrer:2.2'
3130

3231
// Uncomment to enable GAID collection (requires AUDIENCE_MOBILE_ATTRIBUTION

0 commit comments

Comments
 (0)