diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-10 14:52:57 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-10 14:52:57 +0200 |
| commit | 3bad2b50187f55463588a2d4e74fa9df4beb35b8 (patch) | |
| tree | aa213c64c4ee7566dce34365e700434bbdf5fd43 /packages/meshbay-android/app/src/main/assets/bridge | |
| parent | be8b7fcff56a1104e7cd974cc0f506d90f1299a8 (diff) | |
| download | meshbay-3bad2b50187f55463588a2d4e74fa9df4beb35b8.tar.gz | |
feat(android): back the calendars up as an iCalendar file
A Calendar section sends every calendar the person can edit, as a dated .ics,
into <folder>/<account>-calendar once a day when it changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-android/app/src/main/assets/bridge')
| -rw-r--r-- | packages/meshbay-android/app/src/main/assets/bridge/meshbay-bridge.js | 12 |
1 files changed, 12 insertions, 0 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 fc7231c..9d313bf 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 @@ -237,6 +237,18 @@ completed: () => call('contactsync:completed'), failed: (code, text) => call('contactsync:failed', code, text), }, + + // Calendar backup (§9.13), the same way: one iCalendar file of every + // calendar the person can write to, when it changed. + calendarSync: { + status: () => call('calendarsync:status'), + permit: () => call('calendarsync:permit'), + configure: (settings) => call('calendarsync:configure', settings || null), + plan: () => call('calendarsync:plan'), + sent: (token, dir, name) => call('calendarsync:sent', token, dir, name), + completed: () => call('calendarsync:completed'), + failed: (code, text) => call('calendarsync:failed', code, text), + }, } : {}), // Messages backup (§9.13), the same way as contacts: the messages added |