Release Android 1.1.20 with Cloud download, sign-in, and sync fixes - #64
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Initial Cloud downloads could crash Android while copying large base64 responses into native debug logging, and restarting the app could lose a saved Cloud sign-in. This bounds content pages and fixes storage initialization, while adopting the shared 2.50.0 publishing, conflict, and restore fixes from ZenNotes/zennotes#774.
Validation: 130 tests pass; TypeScript, production web build, Capacitor sync, and native debug build pass. Live native testing against zennotes.org reproduced the original crash twice, then verified recovery of all four initial attachments (26 MB total) with exact hashes on the same 192 MB native heap. Also passed sign-in/restart, automatic bidirectional sync, exact-hash 8.1 MB and 10,000,000-byte uploads, oversized-file recovery, publishing and updating the same URL (including Cloud Settings), offline conflict resolution, backup, restore, and unpublish. Restoring the eight-file Android backup produced exact checkpoint hashes on Android, iPhone, and desktop, removed a newer file from all three, and refreshed the open editor. Disposable Cloud resources were removed afterward.
Shared source is pinned to
104416f560bb9e709620cabe9e1f225306f7a4ea. Native validation used an emulator. One-item content pagination adds requests and can slow large initial syncs/backlogs; it bounds each native response, not the coordinator's total JavaScript memory use.Release identifiers are consistently
1.1.20/ versionCode22. The signed release AAB and APK build successfully, native unit tests pass, and all 474 bridge/web asset files match between them. The signed release APK passed fresh-install onboarding, local note creation, and a cold restart with identical saved-note hashes on an isolated Android 15 emulator. The upload bundle SHA-256 is6fe26fa76798b8632daeff10b19a54601b1091eca75e6574b31c8ea9c06b1d05.