2018-10-03 23:56:33 +08:00
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-09-17 21:08:46 +08:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-08-13 16:44:55 +08:00
|
|
|
package="org.matrix.android.sdk">
|
2018-10-09 18:30:01 +08:00
|
|
|
|
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" />
|
2018-10-09 18:30:01 +08:00
|
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
2020-10-13 15:47:34 +08:00
|
|
|
<!-- TODO Is WRITE_EXTERNAL_STORAGE necessary? -->
|
2018-12-13 04:15:01 +08:00
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
2018-12-20 22:44:01 +08:00
|
|
|
|
2020-01-11 01:29:23 +08:00
|
|
|
<application android:networkSecurityConfig="@xml/network_security_config">
|
2018-12-20 22:44:01 +08:00
|
|
|
|
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>
|
2018-12-20 22:44:01 +08:00
|
|
|
</application>
|
|
|
|
|
2018-10-09 18:30:01 +08:00
|
|
|
</manifest>
|