diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-15 15:09:58 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-15 15:09:58 +0200 |
| commit | 39cac2878de059992cb09a1ccf09b6bcece99fae (patch) | |
| tree | c4686f00fdf40e90b4b74144c1e8fd8fb8b8ed0b /packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js | |
| parent | 7fc2fa04d7d88a1cdf0d290ddd2de3815a7d52a5 (diff) | |
| download | meshbay-39cac2878de059992cb09a1ccf09b6bcece99fae.tar.gz | |
feat(android): no text messages backup, and one build again
READ_SMS sits behind restricted settings outside a store and Play
keeps it for the default SMS application: not worth a second build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js')
| -rw-r--r-- | packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js b/packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js index a07399f..d829df3 100644 --- a/packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js +++ b/packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js @@ -15,12 +15,11 @@ * that refuses: `platform.js` decides what to show from whether an object * exists (`platform.node.available`, `platform.folder.available`, …). * - * `HUB_BASE`, `BINARY`, `CAST`, `BACKUP` and `MESSAGES` are prepended by the + * `HUB_BASE`, `BINARY`, `CAST` and `BACKUP` are prepended by the * shell when it injects this file: the interface asks for the hub while its * modules load, before anything can await; BINARY says whether the WebView carries ArrayBuffer * messages; CAST whether this device can cast at all; BACKUP whether this is - * the personal profile, the only one backed up; MESSAGES whether this build - * backs text messages up (not the Play build). + * the personal profile, the only one backed up. */ (function () { 'use strict'; @@ -238,7 +237,6 @@ sent: (token, dir, name) => call('contactsync:sent', token, dir, name), completed: () => call('contactsync:completed'), failed: (code, text) => call('contactsync:failed', code, text), - openSettings: () => call('contactsync:open-settings'), }, // Calendar backup (§9.13), the same way: one iCalendar file of every @@ -251,7 +249,6 @@ sent: (token, dir, name) => call('calendarsync:sent', token, dir, name), completed: () => call('calendarsync:completed'), failed: (code, text) => call('calendarsync:failed', code, text), - openSettings: () => call('calendarsync:open-settings'), }, // Files backup (§9.13): folders the person chose through the system's @@ -287,19 +284,6 @@ }, } : {}), - // Messages backup (§9.13), the same way as contacts: the messages added - // since the last file the node took. Only in a build that may read them. - ...(MESSAGES ? { messageSync: { - status: () => call('messagesync:status'), - permit: () => call('messagesync:permit'), - configure: (settings) => call('messagesync:configure', settings || null), - plan: () => call('messagesync:plan'), - sent: (token, dir, name) => call('messagesync:sent', token, dir, name), - completed: () => call('messagesync:completed'), - failed: (code, text) => call('messagesync:failed', code, text), - openSettings: () => call('messagesync:open-settings'), - } } : {}), - // Where downloads go, chosen once. A display name comes back, never a URI. folder: { choose: () => call('folder:choose'), |