Skip to content

Site packs from the desktop's domains.json - #19

Merged
halilkhrmn merged 1 commit into
mainfrom
ccr-f02f85b0-9qbfqp
Oct 2, 2026
Merged

halilkhrmn merged 1 commit into
mainfrom
ccr-f02f85b0-9qbfqp

Conversation

@halilkhrmn

@halilkhrmn halilkhrmn commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to #18. In the meantime the desktop app had moved its site packs to strategies/domains.json, so Android now reads that file instead of packs.json.

  • Embedded copy: core/src/main/resources/strategies/domains.json. The list update downloads the newest copy from desktop main.
  • New fields:
  • New packs on phones: Telegram, WhatsApp, TikTok, SoundCloud, and independent news sites for Belarus and Egypt.
  • The parser checks what the desktop parser checks:
    • id format; translated names;
    • country codes; host names;
    • package names; size limits.
  • Store images rendered again: the wizard and Lab screens show the new packs.

Merge halilkhrmn/dpimech#17 first. Until then the downloaded file has no android_packages, so packs would not tick apps. The embedded copy already has them.

Verified: :core:test passes (CatalogTest: names, countries, ids, bad files). :app:testDebugUnitTest passes and lint is unchanged.

The desktop app keeps its packs in strategies/domains.json (translated
names, countries); read that file instead of packs.json. Pack chips and
new profile names use the translated name.
@halilkhrmn
halilkhrmn merged commit 0dd0d64 into main Oct 2, 2026
6 checks passed
@halilkhrmn
halilkhrmn deleted the ccr-f02f85b0-9qbfqp branch October 2, 2026 01:18
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.

1 participant