feat(android): Share to Shade — a video from the gallery is sealed on the phone and uploaded

ShadeUpload turns a shared content:// URI into meta and an upload job;
KeystoreSecretFile keeps the owner seed under a Keystore key. The demo app
takes SEND/SEND_MULTIPLE of video, images, audio and documents, uploads in a
foreground service with progress, and its done notification plays the file
or shares the link; the player gets a Share button. The live cross-check
also uploads a content:// share under Robolectric.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-10-19 00:28:36 +02:00
parent b53dcd7813
commit 0a706cdb47
16 changed files with 733 additions and 11 deletions

View File

@@ -13,7 +13,7 @@ android {
defaultConfig {
applicationId = "no.zyon.shade.mediademo"
minSdk = 24
minSdk = 28 // the owner key lives in the Keystore (:shade-android-keystore)
targetSdk = 35
versionCode = 1
versionName = "4.15.0"
@@ -41,5 +41,6 @@ android {
dependencies {
implementation(project(":shade-android-media"))
implementation(project(":shade-android-keystore"))
implementation("androidx.media3:media3-ui:1.5.1")
}