Skip to content

Resolver Specific Parameters (ID5 Mobile In-App)#40

Open
Riabkov wants to merge 6 commits into
Optable:masterfrom
postindustria-tech:feature/id5-targeting-params
Open

Resolver Specific Parameters (ID5 Mobile In-App)#40
Riabkov wants to merge 6 commits into
Optable:masterfrom
postindustria-tech:feature/id5-targeting-params

Conversation

@Riabkov

@Riabkov Riabkov commented Jul 15, 2026

Copy link
Copy Markdown

Closes #39

  • New targeting(ids, hids, listener) overload. The old signature still works, forwards an empty list.
  • Four new query params on every targeting call: bundle, ver, ua, id5_signature. A new AppInfoHolder resolves package name and version once, degrading to null rather than empty strings.
  • ID5 signature round-trip: when a targeting response contains an ID5 signature, the SDK caches it in local storage and resends it on subsequent calls to improve resolve rate and accuracy

Riabkov and others added 6 commits July 3, 2026 14:17
- Add hids, bundle, ver, ua, id5_signature to targeting API
- Add AppInfoHolder.kt for bundle and appVersion
- Add id5_signature to LocalStorage.kt
A single malformed entry early in eids no longer aborts the scan and
silently drops a valid ID5 entry that follows it.
WebView(context) requires the main thread; constructing the SDK off it
silently dropped both the ua param and the User-Agent header, which ID5
resolution depends on. WebSettings.getDefaultUserAgent works on any
thread and avoids constructing a WebView.
- stray space before comma in the targeting call
- README hint example used Apple-only identifiers (IDFA/IDFV) on Android
- README: note that any identifier type is forwarded as a hint as-is,
  consumption is decided server-side
- stale test comment referencing a nonexistent gate
Comment thread README.md
Comment thread README.md

- `bundle` — the app's package name.
- `ver` — the app's version name.
- `ua` — the device user agent (the same value sent in the `User-Agent` header; overridable via `customUserAgent`).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do GDPR signals already come through the android SDK?

@Riabkov Riabkov Jul 27, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, RequestInterceptor appends gdpr, gdpr_consent, gpp, gpp_sid, and reg to outgoing requests

@mosherBT

Copy link
Copy Markdown

I will merge this PR to add a template to this repo. Can you fill out some more info the description please. Nothing big just brief
#43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resolver Specific Parameters (ID5 Mobile In-App)

3 participants