Skip to content

Unify configuration synchronization with the shared browser contract - #114

Merged
andre487 merged 1 commit into
mainfrom
fix/unified-subscription-sync
Oct 21, 2026
Merged

andre487 merged 1 commit into
mainfrom
fix/unified-subscription-sync

Conversation

@andre487

@andre487 andre487 commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

A trusted configuration subscription now updates its primary and backup URLs on Android using the same rules as BrowserMegaProxy. Previously Android discarded the downloaded definition. Keep local Basic Auth, interval and pause state; missing/null definitions retain the current sources, omitted backups clear them, and malformed definitions fail the whole snapshot. Commit new sources together with profiles and preferences, preserving stale-download and rollback protection.

Omitted proxy secrets now stay only with the same protocol, normalized host, port and account. Apply this to SSH keys and separate Jump authentication too; shared Jump credentials require both recipients to remain unchanged. Explicit secrets/empty values keep their existing semantics, and unreadable ciphertext remains available for explicit recovery. Reject colons in HTTP Basic usernames in Kotlin and Go, while preserving SOCKS5/SSH support.

Update EN/RU instructions, trust wording and privacy policy to explain that retained subscription credentials are sent to replacement URLs. Pin MegaProxyConfig 58cad9f365120abb923068d89bbb835bedb2e6da from andre487/MegaProxyConfig#12; schemas/examples are unchanged. No third-party changes or new dependencies.

Validation:

  • bundle exec fastlane android android_checks: JVM tests, lint, debug/release builds and unsigned-release verification.
  • bundle exec fastlane android native_tests: 290 tests with race detection.
  • MegaProxyConfig npm test: 12 tests.
  • Regressions cover bootstrap, source replacement, local credential/schedule preservation, null/omitted values, invalid-source failover, next-refresh requests, stale downloads, disk rollback and recipient-aware secret retention.

APK artifacts

Built from commit 68142650 by CI run #397.
Artifacts expire after 14 days. Neither APK uses the MegaProxy release key.

@andre487
andre487 merged commit 0a6e8d3 into main Oct 21, 2026
16 checks passed
@andre487
andre487 deleted the fix/unified-subscription-sync branch October 21, 2026 16:12
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