cloudstream/app/src/main/AndroidManifest.xml

138 lines
6.3 KiB
XML
Raw Normal View History

2021-04-30 17:20:15 +00:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.lagradost.cloudstream3">
2021-06-10 23:00:22 +00:00
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- I dont remember, probs has to do with downloads -->
2022-07-26 02:31:58 +00:00
<uses-permission android:name="android.permission.INTERNET" /> <!-- unless you only use cs3 as a player for downloaded stuff, you need this -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <!-- Downloads -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <!-- Downloads on low api devices-->
2022-08-04 10:51:11 +00:00
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> <!-- Plugin API -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <!-- some dependency needs this -->
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> <!-- Used for player vertical slide-->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> <!--Used for app update-->
<!--<uses-permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA" /> not used atm, but code exist that requires it that are not run-->
<!-- <permission android:name="android.permission.QUERY_ALL_PACKAGES" /> &lt;!&ndash; Used for getting if vlc is installed &ndash;&gt;-->
2021-04-30 17:20:15 +00:00
<!-- Fixes android tv fuckery -->
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<uses-feature
android:name="android.software.leanback"
android:required="false" />
2021-10-30 11:33:35 +00:00
2022-04-25 17:34:14 +00:00
<!--TODO https://stackoverflow.com/questions/41799732/chromecast-button-not-visible-in-android-->
2021-04-30 17:20:15 +00:00
<application
android:name=".AcraApplication"
android:allowBackup="true"
android:appCategory="video"
android:banner="@mipmap/ic_banner"
android:fullBackupContent="@xml/backup_descriptor"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true"
tools:targetApi="o">
2021-06-06 18:06:01 +00:00
<meta-data
android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME"
android:value="com.lagradost.cloudstream3.utils.CastOptionsProvider" />
2022-01-07 19:27:25 +00:00
2022-08-15 13:27:25 +00:00
<profileable android:shell="true" tools:targetApi="q" />
<activity
android:name=".ui.player.DownloadedPlayerActivity"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation"
android:exported="true"
android:resizeableActivity="true"
android:screenOrientation="userLandscape"
android:supportsPictureInPicture="true">
2022-01-07 19:27:25 +00:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:mimeType="video/*" />
2022-01-07 19:27:25 +00:00
</intent-filter>
2022-07-26 02:31:58 +00:00
<!-- I dont think this label can be translated, but idk -->
<intent-filter android:label="@string/play_with_app_name">
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
2022-07-26 02:31:58 +00:00
</intent-filter>
2022-01-07 19:27:25 +00:00
</activity>
2021-04-30 17:20:15 +00:00
<activity
android:name=".MainActivity"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation"
android:exported="true"
android:resizeableActivity="true"
android:supportsPictureInPicture="true">
<intent-filter android:exported="true">
<action android:name="android.intent.action.MAIN" />
2021-06-10 18:21:42 +00:00
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
2022-07-26 02:31:58 +00:00
2021-11-07 22:10:19 +00:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="cloudstreamapp" />
2022-08-14 20:39:51 +00:00
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="cloudstreamrepo" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="cs.repo"
android:pathPrefix="/"
android:scheme="https" />
2021-11-07 22:10:19 +00:00
</intent-filter>
</activity>
2021-07-08 17:46:47 +00:00
<receiver
android:name=".receivers.VideoDownloadRestartReceiver"
android:enabled="false"
android:exported="true">
2021-10-13 19:16:46 +00:00
<intent-filter android:exported="true">
<action android:name="restart_service" />
2021-07-08 17:46:47 +00:00
</intent-filter>
</receiver>
2021-07-04 17:00:04 +00:00
<service
android:name=".services.VideoDownloadService"
android:enabled="true"
android:exported="false" />
2021-07-04 17:00:04 +00:00
2021-10-13 19:16:46 +00:00
<activity
android:name=".ui.ControllerActivity"
android:exported="false" />
2021-06-10 18:21:42 +00:00
2021-05-20 21:25:41 +00:00
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:enabled="true"
android:exported="false"
android:grantUriPermissions="true">
2021-05-20 21:25:41 +00:00
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
2021-05-20 21:25:41 +00:00
</provider>
2021-04-30 17:20:15 +00:00
</application>
</manifest>