2026-10-18 21:33:32 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
2026-10-19 00:28:36 +02:00
|
|
|
<!-- Uploading a film runs in the foreground, with its progress shown. -->
|
|
|
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
|
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
|
|
|
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
2026-10-18 21:33:32 +02:00
|
|
|
|
|
|
|
|
<!-- Cleartext is allowed so the demo can reach a relay on the LAN
|
|
|
|
|
(`shade media serve` speaks plain HTTP). The media is sealed end to
|
|
|
|
|
end either way; TLS would hide only which file is fetched. -->
|
|
|
|
|
<application
|
|
|
|
|
android:label="Shade Media"
|
|
|
|
|
android:usesCleartextTraffic="true"
|
|
|
|
|
android:theme="@android:style/Theme.Material.NoActionBar">
|
|
|
|
|
<activity
|
|
|
|
|
android:name=".PlayerActivity"
|
|
|
|
|
android:exported="true"
|
|
|
|
|
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden">
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
|
</intent-filter>
|
|
|
|
|
<!-- Share a watch link to the app from any browser or chat. -->
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.intent.action.SEND" />
|
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
<data android:mimeType="text/plain" />
|
|
|
|
|
</intent-filter>
|
|
|
|
|
</activity>
|
2026-10-19 00:28:36 +02:00
|
|
|
<!-- Share a video, photo, song or document: sealed here, uploaded to your relay. -->
|
|
|
|
|
<activity
|
|
|
|
|
android:name=".ShareActivity"
|
|
|
|
|
android:exported="true"
|
|
|
|
|
android:label="Share to Shade"
|
|
|
|
|
android:excludeFromRecents="true">
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.intent.action.SEND" />
|
|
|
|
|
<action android:name="android.intent.action.SEND_MULTIPLE" />
|
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
<data android:mimeType="video/*" />
|
|
|
|
|
<data android:mimeType="image/*" />
|
|
|
|
|
<data android:mimeType="audio/*" />
|
|
|
|
|
<data android:mimeType="application/*" />
|
|
|
|
|
</intent-filter>
|
|
|
|
|
</activity>
|
|
|
|
|
<service
|
|
|
|
|
android:name=".UploadService"
|
|
|
|
|
android:exported="false"
|
|
|
|
|
android:foregroundServiceType="dataSync" />
|
2026-10-18 21:33:32 +02:00
|
|
|
</application>
|
|
|
|
|
</manifest>
|