feat: Edition WebView blocking, puzzle ads, Kubus advertorials, Videoland tracking and live ads (opt-in), decision records #195

Merged
midas merged 18 commits from integration/backlog-138 into dev 2026-11-17 15:02:53 +01:00
Owner

Integration of five reviewed PRs so they go through CI and one pre-release together. Each keeps its own commits.

  • #190 Edition: block ad and tracker hosts in WebViews; new patch Hide newsletter sign-ups. Closes #169
  • #191 Kubus: Hide advertorials. Closes #167
  • #192 Edition: Skip puzzle ads. Closes #168
  • #193 Decision records for #170, #171, #172, #173 in docs/adr/
  • #194 Videoland: opt-in Disable tracking and Hide live ads (default = false). Part of #170, #171
  • plus: the Edition WebView hosts in docs/HOSTS.md

One conflict resolved (two new toggle lines in MidasSettings.java, both kept).

Verified on the integrated branch: buildAndroid (contract check) and the extension unit tests pass; check-patches exit 0 with every patch applied on de Volkskrant 7.55.0 (15), Tubantia 9.24.1 (20), Tubantia 9.21.1 (20) and Videoland TV 1.116.3 (6).

Not device-tested. See each PR for what a device test must show.

🤖 Generated with Claude Code

Integration of five reviewed PRs so they go through CI and one pre-release together. Each keeps its own commits. - #190 Edition: block ad and tracker hosts in WebViews; new patch Hide newsletter sign-ups. Closes #169 - #191 Kubus: Hide advertorials. Closes #167 - #192 Edition: Skip puzzle ads. Closes #168 - #193 Decision records for #170, #171, #172, #173 in docs/adr/ - #194 Videoland: opt-in Disable tracking and Hide live ads (default = false). Part of #170, #171 - plus: the Edition WebView hosts in docs/HOSTS.md One conflict resolved (two new toggle lines in MidasSettings.java, both kept). Verified on the integrated branch: buildAndroid (contract check) and the extension unit tests pass; check-patches exit 0 with every patch applied on de Volkskrant 7.55.0 (15), Tubantia 9.24.1 (20), Tubantia 9.21.1 (20) and Videoland TV 1.116.3 (6). Not device-tested. See each PR for what a device test must show. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Hide ads and Disable tracking now hook shouldInterceptRequest of Edition's
DefaultWebViewClient (in-app browser) and EmbedWebViewClient (article
embeds). Neither overrides it, so the hook adds an override that calls
super. Subresources on the ad and tracker hosts of the SDKs the app ships
get an empty response; consent, login, paywall and payment hosts stay.

The host check moves to WebRequestBlocker, shared with NRC (NRC's hosts
and behaviour unchanged).

Refs #169

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
feat: hide the newsletter sign-up form in Edition articles
All checks were successful
CI / Build (pull_request) Successful in 1m16s
CI / Patch check (pull_request) Successful in 3m2s
4001e92272
New patch Hide newsletter sign-ups (toggle hide_newsletter_signups,
default on): the article block filter drops an embed whose HTML loads the
newsletter form handler (ims.volkskrant.nl/optiext/optiextension.dll).

Refs #169

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
New patch Hide advertorials (toggle hide_advertorials, default on): the
shared Kubus feed teaser filter removes ArticleItems whose isAdvertorial()
is true from every teaser block. Advertorials leave article lists, an
advertorial primary article is replaced by the first editorial list item,
and a block with nothing editorial left is dropped. Blocks are read field
by field, so this works on the named Moshi models (9.21.1-9.23.x) and the
renamed kotlinx.serialization models (9.24.1).

Closes #167

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
chore: evidence labels in the advertorials notes
All checks were successful
CI / Build (pull_request) Successful in 1m10s
CI / Patch check (pull_request) Successful in 2m18s
22593fd0ed
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
New patch "Skip puzzle ads" (#168): the puzzle SDK's IMA video ads (preroll and
rewarded midroll) are skipped by returning from GameAdViewModel.bindView and
delivering the app's own GameAdEvent.Error.Generic once the event flow has a
collector. Preroll goes straight to the game; a rewarded midroll gets
reward-rejected. Midas Settings toggle skip_game_ads, default on.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge remote-tracking branch 'origin/dev' into feat/168-edition-game-ads
All checks were successful
CI / Build (pull_request) Successful in 4m42s
CI / Patch check (pull_request) Successful in 8m15s
c416abf167
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge remote-tracking branch 'origin/dev' into chore/adr-decisions
All checks were successful
CI / Build (pull_request) Successful in 5m32s
CI / Patch check (pull_request) Successful in 24s
8635b3488e
Per ADR 0001 (#170): forces the remote-config switches activateTealium,
playerNPAWv7Enabled and playerSnowplowMediaTrackingEnabled to "0" at
ConfigImpl's single AppLaunch lookup, returns from NewRelic.start, removes
NewRelicAppContentProvider and sets the shared Firebase telemetry flags.
The heartbeat, continuous watching, DRM, entitlement and playback calls are
not touched. Phone and Android TV builds; default = false until a device test.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
feat: add an opt-in Hide live ads patch for Videoland
All checks were successful
CI / Build (pull_request) Successful in 5m24s
CI / Patch check (pull_request) Successful in 8m30s
4e69e634a6
Per ADR 0002 (#171): YospaceDaiResourceCreator.a returns null, so
LiveQueueItem takes the app's own non-DAI path (the fallback asset when the
server sent one, else the Yospace URL without its session parameters). VOD
does not use DAI. Separate from Hide ads and default = false until the TV-box
test: the fallback does not always exist and is likely SD. Corrects the
"most likely break" note in docs/apps/videoland.md.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
# Conflicts:
#	extensions/extension/src/main/java/nl/midasvo/extension/settings/MidasSettings.java
chore: list the Edition WebView hosts in the host register
All checks were successful
CI / Build (pull_request) Successful in 5m22s
CI / Patch check (pull_request) Successful in 8m33s
7d65a356a3
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.