SDK-1052: Replace the mobile attribution scripting define with a build settings checkbox - #832
Merged
Merged
Conversation
…sset Replaces the manual "type AUDIENCE_MOBILE_ATTRIBUTION into Player Settings" step with two checkboxes (iOS, Android) on the existing AudienceMobileBuildSettings asset. The checkboxes read and write the real scripting define directly, nothing is cached or serialized, so a define set manually before this change still shows correctly and nothing resets on upgrade. Also removes three copies of the same define-check method, one per iOS post-processor, in favour of a single shared helper. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
nattb8
force-pushed
the
feat/sdk-1052-mobile-attribution-checkbox
branch
from
September 25, 2026 00:21
af00dd8 to
4ebb172
Compare
Audience SDK — Build Size
SDK Size = build minus empty app. Change = vs baseline. Fails if any platform exceeds its absolute size limit. |
nattb8
marked this pull request as ready for review
September 25, 2026 00:58
JCSanPedro
approved these changes
Sep 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
AudienceMobileBuildSettingsasset that read and write theAUDIENCE_MOBILE_ATTRIBUTIONscripting define directly on Player SettingsMobileAttributionDefinehelperWhy
Turning on mobile attribution meant typing an exact define string into Player Settings by hand, once per platform, with no feedback if you got it wrong or forgot a platform. This replaces that with a checkbox on the same asset studios already configure for tracking usage description and SKAdNetwork IDs.
Test plan
ProjectSettings.asset, Android define cleared while iOS stayed untouched)Ticket: SDK-1052
🤖 Generated with Claude Code