fix: Edition 7.56.0 (Midas Settings fingerprint, Facebook SDK gone) + declare tested #210

Merged
midas merged 3 commits from fix/edition-7.56.0 into dev 2026-11-29 14:39:11 +01:00
Owner

Closes #202, #206, #207

Root cause

Edition 7.56.0 (all three titles) changed two things:

  1. Midas Settings (Failed): MainActivity.navigateToUrl got an extra String: (NavHostController, String url, String startRoute, String title)V instead of (NavHostController, String url, String title)V (7.56.0 threads the start route through onNavigation/handleDeeplink/navigateToUrl). MainActivityNavigateToUrlFingerprint matched the exact 3-parameter list. It now matches a NavHostController followed by two or three Strings (class, name and return type unchanged). The url is still parameter 1, so the hook is unchanged.
  2. Missing manifest entry com.facebook.internal.FacebookInitProvider: the Facebook SDK is gone in 7.56.0. No Lcom/facebook/FacebookSdk; or Lcom/facebook/appevents/ in any dex of Volkskrant, Trouw or Het Parool 7.56.0 (Volkskrant 7.55.0 still has FacebookSdk), no com/facebook package in the Het Parool 7.56.0 decompile, and the init provider and both token receivers are gone from the manifest. Nothing replaced it (only com.facebook.react.* name strings in Contentsquare/PSPDFKit framework detection, and the app's own facebook_applink_scheme deep-link filter). The provider is now optional in EditionManifestCleanupPatch, like HeapViewAutocaptureContentProvider. Edition never used disableFacebookSdkPatch (Kubus only), so nothing else changes.

Then 7.56.0 is added to EDITION_TARGETS (all three titles verified, no untestedVersions). docs/apps/edition.md has the 7.56.0 notes.

Verification

scripts/check-patches.sh with the bundle from this branch (Morphe Desktop 2.4.0):

APK exit Applied Failed
de Volkskrant 7.56.0 (APKPure) 0 15 0
Het Parool 7.56.0 (APKPure) 0 15 0
Trouw 7.56.0 (APKPure) 0 15 0
de Volkskrant 7.55.0 0 15 0
de Volkskrant 7.54.0 0 15 0

Also: buildAndroid (incl. contract check), :extensions:extension:testDebugUnitTest, check-stubs.sh decompiled/be.persgroep.android.news.mobilepa-7.56.0 (OK).

Open

  • Not device-tested (Midas Settings row click on 7.56.0 not tried on the phone).
  • The 7.56.0 originals are not in the APK store yet (no write token here). The PR's Patch check needs Volkskrant 7.56.0 there, or it falls back / warns; upload with scripts/apk-store.sh upload.

🤖 Generated with Claude Code

Closes #202, #206, #207 ## Root cause Edition 7.56.0 (all three titles) changed two things: 1. **Midas Settings (Failed)**: `MainActivity.navigateToUrl` got an extra String: `(NavHostController, String url, String startRoute, String title)V` instead of `(NavHostController, String url, String title)V` (7.56.0 threads the start route through `onNavigation`/`handleDeeplink`/`navigateToUrl`). `MainActivityNavigateToUrlFingerprint` matched the exact 3-parameter list. It now matches a `NavHostController` followed by two or three Strings (class, name and return type unchanged). The url is still parameter 1, so the hook is unchanged. 2. **Missing manifest entry `com.facebook.internal.FacebookInitProvider`**: the Facebook SDK is gone in 7.56.0. No `Lcom/facebook/FacebookSdk;` or `Lcom/facebook/appevents/` in any dex of Volkskrant, Trouw or Het Parool 7.56.0 (Volkskrant 7.55.0 still has `FacebookSdk`), no `com/facebook` package in the Het Parool 7.56.0 decompile, and the init provider and both token receivers are gone from the manifest. Nothing replaced it (only `com.facebook.react.*` name strings in Contentsquare/PSPDFKit framework detection, and the app's own `facebook_applink_scheme` deep-link filter). The provider is now `optional` in `EditionManifestCleanupPatch`, like `HeapViewAutocaptureContentProvider`. Edition never used `disableFacebookSdkPatch` (Kubus only), so nothing else changes. Then `7.56.0` is added to `EDITION_TARGETS` (all three titles verified, no `untestedVersions`). docs/apps/edition.md has the 7.56.0 notes. ## Verification `scripts/check-patches.sh` with the bundle from this branch (Morphe Desktop 2.4.0): | APK | exit | Applied | Failed | | --- | --- | --- | --- | | de Volkskrant 7.56.0 (APKPure) | 0 | 15 | 0 | | Het Parool 7.56.0 (APKPure) | 0 | 15 | 0 | | Trouw 7.56.0 (APKPure) | 0 | 15 | 0 | | de Volkskrant 7.55.0 | 0 | 15 | 0 | | de Volkskrant 7.54.0 | 0 | 15 | 0 | Also: `buildAndroid` (incl. contract check), `:extensions:extension:testDebugUnitTest`, `check-stubs.sh decompiled/be.persgroep.android.news.mobilepa-7.56.0` (OK). ## Open - **Not device-tested** (Midas Settings row click on 7.56.0 not tried on the phone). - The 7.56.0 originals are not in the APK store yet (no write token here). The PR's Patch check needs Volkskrant 7.56.0 there, or it falls back / warns; upload with `scripts/apk-store.sh upload`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
7.56.0 added a start-route String to MainActivity.navigateToUrl
(NavHostController, url, startRoute, title), so the exact-signature
fingerprint of the Midas Settings hook no longer matched. It now accepts a
NavHostController followed by two or three Strings; the url stays the
first String.

7.56.0 also dropped the Facebook SDK (no FacebookSdk/appevents classes in
any dex, no init provider or token receivers in the manifest), so
FacebookInitProvider is optional in the Edition manifest cleanup.

Closes #202, #206, #207

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Checked with check-patches.sh on de Volkskrant, Trouw and Het Parool
7.56.0 (APKPure XAPKs): every patch applied.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge remote-tracking branch 'origin/dev' into fix/edition-7.56.0
All checks were successful
CI / Build (pull_request) Successful in 1m54s
CI / Patch check (pull_request) Successful in 11m14s
60353b079d
Sign in to join this conversation.
No description provided.