Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(calls): drop LiveKit's unused screen-share service on Android (#9392)
Peter Chinman68b1fe8e0e2a
diff --git a/apps/web/tauri/src-tauri/gen/android/app/src/main/AndroidManifest.xml b/apps/web/tauri/src-tauri/gen/android/app/src/main/AndroidManifest.xmlindex 42dd4b079d..d7a34cbeab 100644--- a/apps/web/tauri/src-tauri/gen/android/app/src/main/AndroidManifest.xml+++ b/apps/web/tauri/src-tauri/gen/android/app/src/main/AndroidManifest.xml@@ -6,6 +6,8 @@<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" /><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" /><uses-permission android:name="android.permission.BATTERY_STATS" tools:node="remove" />+ <!-- LiveKit ships a screen-share service; Android calls don't share screens. -->+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" tools:node="remove" /><uses-feature android:name="android.hardware.touchscreen" android:required="false" />@@ -96,5 +98,9 @@android:name="android.support.FILE_PROVIDER_PATHS"android:resource="@xml/file_paths" /></provider>++ <service+ android:name="io.livekit.android.room.track.screencapture.ScreenCaptureService"+ tools:node="remove" /></application></manifest>diff --git a/apps/web/tauri/src-tauri/tauri.android.conf.json b/apps/web/tauri/src-tauri/tauri.android.conf.jsonindex a20753eea3..84132b0ab0 100644--- a/apps/web/tauri/src-tauri/tauri.android.conf.json+++ b/apps/web/tauri/src-tauri/tauri.android.conf.json@@ -2,7 +2,7 @@"version": "2.5.0","bundle": {"android": {- "versionCode": 21+ "versionCode": 22}},"$schema": "https://schema.tauri.app/config/2",diff --git a/docs/development/android.md b/docs/development/android.mdindex abc00fdc18..93e5636ea2 100644--- a/docs/development/android.md+++ b/docs/development/android.md@@ -1076,8 +1076,11 @@ WebView so it keeps its size; from the drawer, the drawer enters PiP andreopens when Macro returns. PiP uses the same layout as iOS, its menu offersMute and Leave, and expanding it reopens the drawer. A tap on a system PiPalways shows Android's menu first. Audio continues in the foreground service-while backgrounded; camera capture stops once neither the drawer, the thumbnail-nor PiP is visible. The web call controls can also reopen the drawer.+(`phoneCall|microphone|camera`) while backgrounded; camera capture stops once+neither the drawer, the thumbnail nor PiP is visible. The web call controls can+also reopen the drawer. The app manifest removes LiveKit's unused screen-share+service and its media-projection permission, so Play sees no `mediaProjection`+foreground service.After a debug build generates Tauri's Gradle includes, run the plugin unit testsfrom `tauri/src-tauri/gen/android` with