feat(android): albums from the phone — several files shared at once are one link

Albums.encode and Grant.encode (live grants too) write what TS writes; the
album vector is resealed byte for byte from Kotlin. MediaUploader.uploadAlbum
seals and uploads one. The demo turns a multi-file share into an album and
its player lists an album's items and opens them in place. The live
cross-check uploads an album from Kotlin that TS opens.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-10-19 00:34:24 +02:00
parent 7d45be8712
commit 65d7a0646f
11 changed files with 202 additions and 33 deletions

View File

@@ -128,7 +128,11 @@ New package **`@shade/media`** — see `docs/media.md`.
type, duration and picture size; `KeystoreSecretFile` keeps the owner seed
under a Keystore key. The demo app takes shares from the gallery, uploads
them in a foreground service with progress, and offers the link to play or
share. Its minSdk is now 28.
share. Several files shared at once become one album link
(`MediaUploader.uploadAlbum`, `Albums.encode`, `Grant.encode` for live
grants too — the album vector now resealed byte for byte from Kotlin), and
the demo player lists an album's items and opens them in place.
Its minSdk is now 28.
### Fixed