chore: correct the Cxense note in edition.md #188

Merged
midas merged 1 commit from chore/166-cxense into dev 2026-11-17 10:45:47 +01:00
Owner

Closes #166

Findings (Het Parool 7.55.0 decompile; Volkskrant 7.53.1 has the same classes):

  • PianoManager.resolveTemplates calls CxenseManager.trackPageView; default tracker does CxenseSdk.getInstance().pushEvents(PageViewEvent) in a runCatching inside a coroutine.
  • CxenseSdk.getInstance() -> DependenciesProvider.getInstance(), which throws IllegalArgumentException ("The Cxense SDK is not initialized!") unless DependenciesProvider.init$sdk_release ran. Its only caller is CxSdkInitializer.create, which Edition's manifest cleanup removes; no code calls AppInitializer.
  • The exception is caught and logged via Timber, so no pageview is queued or sent. Dead path: doc-only change, no hook.
  • PianoManager.pianoInitializer only inits Piano Composer (separate SDK).

Doc-only, so no build/patch check run.

🤖 Generated with Claude Code

Closes #166 Findings (Het Parool 7.55.0 decompile; Volkskrant 7.53.1 has the same classes): - `PianoManager.resolveTemplates` calls `CxenseManager.trackPageView`; default tracker does `CxenseSdk.getInstance().pushEvents(PageViewEvent)` in a runCatching inside a coroutine. - `CxenseSdk.getInstance()` -> `DependenciesProvider.getInstance()`, which throws IllegalArgumentException ("The Cxense SDK is not initialized!") unless `DependenciesProvider.init$sdk_release` ran. Its only caller is `CxSdkInitializer.create`, which Edition's manifest cleanup removes; no code calls AppInitializer. - The exception is caught and logged via Timber, so no pageview is queued or sent. Dead path: doc-only change, no hook. - `PianoManager.pianoInitializer` only inits Piano Composer (separate SDK). Doc-only, so no build/patch check run. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
bump: declare Het Parool 7.54.0 as tested
All checks were successful
CI / Build (pull_request) Successful in 3m41s
CI / Patch check (pull_request) Successful in 6m12s
27da83c5d8
7.55.0 removed the whole teasers/feed module (sections, lists and the digital
paper are overview pages now), moved toolbarActionTag to ToolbarActionTagKt and
dropped Heap's autocapture provider.

- Copy article as Markdown: ToolbarActionTagFingerprint matches the name, the
  static (ToolbarAction)String signature and the "toolbar_action_share" tag
  instead of the file class, so it holds for TestTagsKt (7.53.1, 7.54.0) and
  ToolbarActionTagKt (7.55.0).
- feedTileFilterPatch hooks toModel(TileDto, ...) only when TileDto exists
  (hasTileFeed); while it does, the hook stays required. Hide game promotions
  registers its toggle only then. Hide notification suggestions keeps its
  article half.
- ContentFilters matches the tile DTOs by class name and reads
  getTeaser().getGameId() by reflection, so the extension no longer references
  classes 7.55.0 lacks (the patch check's class verification failed on them).
  Their stubs move to the extension's test sources as fakes.
- editionManifestCleanupPatch: HeapViewAutocaptureContentProvider is optional.

Closes #159

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bump: declare Het Parool 7.55.0 as tested
All checks were successful
CI / Build (pull_request) Successful in 3m40s
CI / Patch check (pull_request) Successful in 6m43s
b54ab8d4ba
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keeps both Edition platform versions: EDITION_TARGETS lists 7.55.0 and 7.54.0, Trouw and de
Volkskrant carry both in untestedVersions until they are checked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bump: declare de Volkskrant and Trouw 7.54.0 as tested
All checks were successful
CI / Build (pull_request) Successful in 3m46s
CI / Patch check (pull_request) Successful in 8m46s
43dced2f38
scripts/check-patches.sh applies every patch to both, from APKPure's signed XAPKs (de Volkskrant
7.54.0, versionCode 23136517; Trouw 7.54.0, the same versionCode), with the dev bundle and with
the bundle of dev + #160 + #161 + #154 + #158 + #155. Drops 7.54.0 from their untestedVersions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix: fail the Edition feed filter when the tile DTOs move instead of skipping it
All checks were successful
CI / Build (pull_request) Successful in 5m28s
CI / Patch check (pull_request) Successful in 9m46s
dd2ae9861f
feedTileFilterPatch skipped silently whenever TileDto was missing, so a version that moved
the DTO package but kept the feed would drop the feed filters and the Hide game promotions
toggle while the patch check still reported Applied.

- hasTileFeed(): without TileDto it only reports "no feed" when no other trace is left
  (NavigationRoute$FeedSection/$FeedList, classes under edition/teasers or edition/feed,
  the strings "Unknown tile type encountered, unable to map to model" and
  "pushCategoryBox"; all present in Volkskrant 7.53.1 and Het Parool 7.54.0, none in
  7.55.0). Otherwise it throws a PatchException naming the traces.
- With the feed present the patch reads ContentFilters' name constants (PUSH_CATEGORY_TILE,
  TEASER_TILE, TEASER_GETTER, GAME_ID_GETTER) from the merged extension dex, so the Java
  strings stay the single source, and fails unless both tile classes are final subclasses of
  TileDto in its package and the getters exist as public no-argument instance methods
  returning an object. It logs "Feed tile filter hooked into ..." once the hook is in.
- A unit test pins the extension's constants to the test fakes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge branch 'fix/159-parool-7.55.0' into app-update/edition-7.54.0
All checks were successful
CI / Build (pull_request) Successful in 6m8s
CI / Patch check (pull_request) Successful in 9m16s
d617d73742
bump: declare de Volkskrant and Trouw 7.55.0 as tested
All checks were successful
CI / Build (pull_request) Successful in 2m0s
CI / Patch check (pull_request) Successful in 4m16s
5694a6a2e8
The Het Parool 7.55.0 fixes (#160) cover both titles: check-patches applies all 13 patches
on the 7.55.0 XAPKs of de Volkskrant and Trouw. Closes #176, closes #180.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
chore: merge dev into app-update/edition-7.54.0
All checks were successful
CI / Build (pull_request) Successful in 2m12s
CI / Patch check (pull_request) Successful in 4m2s
a32136b87c
chore: correct the Cxense note in edition.md
All checks were successful
CI / Build (pull_request) Successful in 1m55s
CI / Patch check (pull_request) Successful in 3m57s
442ddef4f3
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.