Skip to content

ZenNotes for Android 1.1.23: the left-edge swipe opens Browse again

Choose a tag to compare

@adibhanna adibhanna released this 17 Sep 19:20
7e2474c

ZenNotes for Android 1.1.23: the left-edge swipe opens Browse again

Two fixes prompted by a Play Store review. The shared ZenNotes core is unchanged (app core 2.51.0).

What changes on the phone

  • Swiping in from the left edge opens Browse on phones with gesture navigation. Android takes every swipe that starts at a screen edge as Back, so that swipe never reached the app: Browse stayed closed, the app went back a screen, and from Home it could close. ZenNotes now reserves the middle of the left edge, where a thumb swipes, so the swipe opens Browse. Back keeps working above and below that band and along the whole right edge, and while Browse is open, Back from the left edge closes it.
  • Databases get a long-press menu in Browse. A long press used to go straight to the delete confirmation. It now opens the same sheet folders use, with Rename and Delete.
  • The Swipe gestures setting is accurate. It no longer says the edge swipe "always opens Browse". It says where the swipe works and points at the flick options, which already open Browse or the outline from anywhere on a note (Settings, Appearance, Swipe gestures).

Not in this release: moving a folder or database to another folder, and the command-palette focus fix from #65. Both are committed to the shared core and arrive with the next core release.

Under the hood

EdgeSwipePlugin is a small Android-only plugin that excludes a 32dp by 200dp band of the left edge from the system Back gesture, the mechanism androidx DrawerLayout uses for its drawer edge; 200dp is the most Android honours per edge. The JS shell claims the band on the phone layout while the drawer is closed and releases it while the drawer is open. iOS has no edge Back gesture, so there is no iPhone counterpart. The database sheet calls the public requestRenameBrowseDatabase action.

Core packages unchanged: core-2.51.0-core.h49d73b531d346192.

Installing the APK

zennotes-1.1.23-universal.apk is the Google Play-signed universal APK for version 1.1.23 (26), Android 7.0 and later, same certificate as before, attached exactly as downloaded from Play Console. It was checked before publishing: no com.pairip licence-check code and no CHECK_LICENSE permission, so it opens on devices without Google Play, and sideloaded over 1.1.22 the left-edge swipe opens Browse. Sideloaded installs do not self-update; use Obtainium. The same version was sent to Google Play review on September 17 and rolls out there once approved.

Validation: 149 automated tests, boundary check, typecheck, production build, native unit tests, lint, debug build, and the signed release bundle passed. Android 15 emulator with gesture navigation: upgrade from 1.1.22 over existing data; a left-edge swipe mid-screen opens Browse, Back closes it, and the same swipe near the top of the screen is still Back; the database sheet, a database rename verified on the device filesystem, editing with autosave, and cold relaunch passed. All 469 app assets in the submitted bundle match the production web build byte for byte.