From b39e73cbb279ab0274e8cd0b84304a602fe1d5ef Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sat, 10 Oct 2026 17:09:12 +0200 Subject: fix(android): what the first backup on a phone showed Slices are asked for in the address, not a Range header the WebView drops; a settings change runs at once; the notification is updated once a second; the SMS section says how to lift Android's restricted setting; the photo section says whether videos are included. Co-Authored-By: Claude Opus 5.5 --- .../src/meshbay_hub/static/phone-sync-settings.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'packages/meshbay-hub/src/meshbay_hub/static/phone-sync-settings.js') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/phone-sync-settings.js b/packages/meshbay-hub/src/meshbay_hub/static/phone-sync-settings.js index 2c1ebc0..998a3b2 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/phone-sync-settings.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/phone-sync-settings.js @@ -20,6 +20,9 @@ const TEXT = { messages: { intro: 'messagesync.intro', permission: 'messagesync.permission_needed', + // Android keeps text messages behind "restricted settings" for an + // application installed outside a store: said, with the way to lift it. + restricted: 'messagesync.restricted_hint', }, }; @@ -59,7 +62,7 @@ export function DocSyncSection({ kind, destination }) { if (st.permission !== 'granted') st = await sync.permit(); if (st.permission !== 'granted') { setStatus(st); return; } setStatus(await sync.configure({})); - runDocSync(kind); + runDocSync(kind, { force: true }); } catch (e) { setError(e.message); } finally { @@ -84,7 +87,12 @@ export function DocSyncSection({ kind, destination }) {

${t(TEXT[kind].intro)}

${!destination && html`

${t('androidsync.dest_needed')}

`} ${destination && status.permission !== 'granted' && html` -

${t(TEXT[kind].permission)}

`} +

${t(TEXT[kind].permission)}

+ ${TEXT[kind].restricted && html` +

${t(TEXT[kind].restricted)}

+ `}`} ${destination && html` `} `} -- cgit v1.2.3