From aed32f20625a6206628b577d743d96552f81e91a Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sat, 10 Oct 2026 14:40:05 +0200 Subject: feat(android): back text messages up, in a build Play does not get A Messages section sends the SMS added since the last copy, as restorable XML, into /-messages/YYYY. A play flavor has neither READ_SMS nor the code that reads messages; full is the default. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-hub/src/meshbay_hub/static/platform.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/meshbay-hub/src/meshbay_hub/static/platform.js') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/platform.js b/packages/meshbay-hub/src/meshbay_hub/static/platform.js index 148b2eb..4b507dc 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/platform.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/platform.js @@ -267,7 +267,7 @@ export const phoneSync = { }; /** - * Backing up one kind of this phone's data (the contacts) to the destination + * Backing up one kind of this phone's data (contacts, messages) to the destination * every kind shares (docs/MESHBAY_DESIGN.md ยง9.13). Android only, like * `photoSync`. See phone-sync.js. */ @@ -292,6 +292,8 @@ function docSync(name) { } export const contactSync = docSync('contactSync'); +/** Absent from the Play build, whose policy keeps text messages from it. */ +export const messageSync = docSync('messageSync'); /** Pick a directory to add as a group root. Returns { path, name } or null. */ export const rootPicker = { -- cgit v1.2.3