element-android-Github/matrix-sdk-android/src/main/AndroidManifest.xml

30 lines
1.2 KiB
XML
Raw Normal View History

2018-10-03 23:56:33 +08:00
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
2020-08-13 16:44:55 +08:00
package="org.matrix.android.sdk">
2020-10-13 15:47:34 +08:00
<uses-permission android:name="android.permission.INTERNET" />
2018-10-17 19:59:21 +08:00
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
2020-10-13 15:47:34 +08:00
<!-- TODO Is WRITE_EXTERNAL_STORAGE necessary? -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
2020-01-11 01:29:23 +08:00
<application android:networkSecurityConfig="@xml/network_security_config">
2020-06-25 15:33:21 +08:00
<!--
The SDK offers a secured File provider to access downloaded files.
Access to these file will be given via the FileService, with a temporary
read access permission
-->
<provider
2020-08-13 16:44:55 +08:00
android:name=".api.session.file.MatrixSDKFileProvider"
2020-06-25 15:33:21 +08:00
android:authorities="${applicationId}.mx-sdk.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/sdk_provider_paths" />
</provider>
</application>
</manifest>