Skip to content

Fix demo app bugs - #56

Merged
jrosendahl-opt merged 1 commit into
masterfrom
fix/demo-behaviour
Nov 4, 2026
Merged

jrosendahl-opt merged 1 commit into
masterfrom
fix/demo-behaviour

Conversation

@jrosendahl-opt

@jrosendahl-opt jrosendahl-opt commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Why

The demo apps had a few bugs that make them misleading as reference integrations: the Identify tab always showed "Visitor ID: null", the Kotlin demo talked to a different host than the Java one, and the Prebid fragments could keep a stale ORTB config and logged their witness events under the GAM fragment's name.

- Identify: the visitor ID key used the slug js-sdk instead of the
  configured android-sdk, so the visitor ID always printed "null".
- Kotlin: drop the ca.edge host so both demos use the SDK default
  (na.edge.optable.co), like the Java demo.
- Kotlin: add the Prebid tab to the top-level AppBarConfiguration.
- Prebid: clear the global ORTB config when targeting has no or a blank
  openRtbJson, so a previous result doesn't stick.
- Prebid: log witness events as PrebidBannerFragment, not
  GAMBannerFragment, and say "from cache" on a cache hit (Java).
- Remove unused string resources.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jrosendahl-opt
jrosendahl-opt merged commit cc47d2e into master Nov 4, 2026
3 checks passed
@jrosendahl-opt
jrosendahl-opt deleted the fix/demo-behaviour branch November 4, 2026 16:17
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.

2 participants