fedilab-Android-App/app/src/main/AndroidManifest.xml

301 lines
15 KiB
XML
Raw Normal View History

2017-05-05 16:36:04 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 Thomas Schneider
2019-05-18 11:10:30 +02:00
This file is a part of Fedilab
2017-05-05 16:36:04 +02:00
This program is free software; you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation; either version 3 of the
License, or (at your option) any later version.
2019-05-18 11:10:30 +02:00
Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
2017-05-05 16:36:04 +02:00
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
2019-05-18 11:10:30 +02:00
You should have received a copy of the GNU General Public License along with Fedilab; if not,
2017-05-05 16:36:04 +02:00
see <http://www.gnu.org/licenses>
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2018-09-05 10:19:07 +02:00
xmlns:tools="http://schemas.android.com/tools"
2017-05-05 16:36:04 +02:00
android:installLocation="auto"
2019-05-18 11:10:30 +02:00
package="app.fedilab.android">
2017-05-05 16:36:04 +02:00
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
2017-11-12 07:57:48 +01:00
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
2019-01-09 15:27:02 +01:00
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
2019-02-07 07:19:04 +01:00
<uses-feature android:name="android.hardware.camera" android:required="false" />
2017-05-05 16:36:04 +02:00
<application
2019-05-18 11:10:30 +02:00
android:name="app.fedilab.android.activities.MainApplication"
2018-02-17 16:25:16 +01:00
android:allowBackup="false"
2018-09-05 10:19:07 +02:00
tools:replace="android:allowBackup"
2019-01-28 19:18:53 +01:00
android:usesCleartextTraffic="true"
2017-05-05 16:36:04 +02:00
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
2018-09-16 15:05:33 +02:00
android:largeHeap="true"
2017-05-05 16:36:04 +02:00
android:hardwareAccelerated="true"
android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true"
2017-07-10 10:33:24 +02:00
android:theme="@style/AppThemeDark">
2017-12-13 15:27:26 +01:00
<service
2019-05-18 11:10:30 +02:00
android:name="app.fedilab.android.services.LiveNotificationService"
android:exported="false"/>
2018-12-19 18:10:13 +01:00
2019-05-18 11:10:30 +02:00
<service android:name="app.fedilab.android.services.BackupStatusService"
2018-01-06 15:14:11 +01:00
android:exported="false"/>
2019-05-18 11:10:30 +02:00
<service android:name="app.fedilab.android.services.BackupStatusInDataBaseService"
2018-02-17 08:44:13 +01:00
android:exported="false"/>
2019-05-18 11:10:30 +02:00
<receiver android:name="app.fedilab.android.services.RestartLiveNotificationReceiver"
android:exported="false">
2017-11-12 07:57:48 +01:00
<intent-filter>
2017-11-29 18:26:32 +01:00
<action android:name="RestartLiveNotificationService" />
2017-11-12 07:57:48 +01:00
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
2019-05-18 11:10:30 +02:00
<receiver android:name="app.fedilab.android.services.StopLiveNotificationReceiver"
android:exported="false">
<intent-filter>
2018-01-03 15:25:35 +01:00
<action android:name="StopLiveNotificationReceiver" />
</intent-filter>
</receiver>
2018-12-19 10:34:04 +01:00
<service
2019-05-18 11:10:30 +02:00
android:name="app.fedilab.android.services.StreamingHomeTimelineService"
2018-12-19 10:34:04 +01:00
android:exported="false"/>
2018-01-03 15:25:35 +01:00
<service
2019-05-18 11:10:30 +02:00
android:name="app.fedilab.android.services.StreamingFederatedTimelineService"
2018-01-03 15:25:35 +01:00
android:exported="false"/>
2017-09-30 08:48:44 +02:00
<service
2019-05-18 11:10:30 +02:00
android:name="app.fedilab.android.services.StreamingLocalTimelineService"
2017-09-30 08:48:44 +02:00
android:exported="false"/>
2018-01-03 15:25:35 +01:00
2017-05-05 16:36:04 +02:00
<activity
2019-05-18 11:10:30 +02:00
android:name="app.fedilab.android.activities.MainActivity"
2017-05-05 16:36:04 +02:00
android:label="@string/app_name"
2017-12-13 15:27:26 +01:00
android:launchMode="singleTop"
2017-07-24 14:25:32 +02:00
android:windowSoftInputMode = "adjustResize"
2017-05-05 16:36:04 +02:00
android:configChanges="keyboardHidden|orientation|screenSize"
2017-07-10 10:33:24 +02:00
android:theme="@style/AppThemeDark_NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
2018-09-28 18:05:18 +02:00
<data android:mimeType="video/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
2018-09-28 18:05:18 +02:00
<data android:mimeType="video/*" />
</intent-filter>
2017-12-20 08:59:44 +01:00
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<!-- The app is a good candidate for URL in https://domain.name/@xxxxxx-->
<!-- It should cover every URLs for statuses but some others not related to mastodon matching this scheme -->
<data
android:scheme="https"
android:host="*"
android:pathPrefix="/@"
/>
</intent-filter>
2019-03-02 15:43:40 +01:00
<intent-filter
>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:mimeType="*/*" />
<data android:host="*" />
<data android:pathPattern=".*\\.fedilab" />
</intent-filter>
2017-05-05 16:36:04 +02:00
</activity>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.LoginActivity"
2017-05-05 16:36:04 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
>
<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="backtomastalab" android:scheme="mastalab" />
</intent-filter>
</activity>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.ShowAccountActivity"
2017-05-05 16:36:04 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.TootInfoActivity"
android:windowSoftInputMode="stateAlwaysHidden"
2017-05-05 16:36:04 +02:00
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.HashTagActivity"
2017-05-27 08:32:14 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.WebviewConnectActivity"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation|screenSize"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.PeertubeActivity"
2018-10-14 15:20:05 +02:00
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation|screenSize"
/>
2019-05-26 18:06:55 +02:00
<activity android:name="app.fedilab.android.activities.PlaylistsActivity"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation|screenSize"
/>
2019-05-30 15:19:02 +02:00
<activity android:name="app.fedilab.android.activities.PhotoEditorActivity"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation|screenSize"
/>
2019-05-30 19:09:36 +02:00
<activity
android:name="com.yalantis.ucrop.UCropActivity"
android:screenOrientation="portrait"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.WebviewActivity"
2017-05-26 17:20:36 +02:00
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation|screenSize"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.MediaActivity"
android:label="@string/app_name"
2018-02-09 17:39:09 +01:00
android:theme="@style/Theme.Transparent"
android:configChanges="keyboardHidden|orientation|screenSize"
android:noHistory="true"
2017-05-26 17:20:36 +02:00
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.SearchResultActivity"
2017-05-26 17:20:36 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
2019-03-31 11:58:40 +02:00
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.SearchResultTabActivity"
2019-03-31 11:58:40 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
2017-05-26 17:20:36 +02:00
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.ListActivity"
2017-12-14 16:14:24 +01:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.WhoToFollowActivity"
2018-09-10 19:21:42 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.ShowConversationActivity"
2017-05-05 16:36:04 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.OwnerStatusActivity"
2018-02-17 11:28:52 +01:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
2018-02-17 15:42:09 +01:00
android:launchMode="singleTask"
2018-02-17 11:28:52 +01:00
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.LanguageActivity"
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.AboutActivity"
2017-05-05 16:36:04 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.ReorderTimelinesActivity"
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.OpencollectiveActivity"
2019-02-07 19:47:53 +01:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.PartnerShipActivity"
2018-09-01 08:13:22 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.InstanceActivity"
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
2017-05-05 16:36:04 +02:00
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.PrivacyActivity"
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.TootActivity"
2018-09-01 18:24:01 +02:00
android:launchMode="singleTop"
2017-05-05 16:36:04 +02:00
android:windowSoftInputMode="adjustResize"
android:fitsSystemWindows="true"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
2017-07-21 21:09:32 +02:00
android:theme="@style/AppTheme_NoActionBar"
2017-05-05 16:36:04 +02:00
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.EditProfileActivity"
2017-08-28 09:20:19 +02:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.CustomSharingActivity"
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.InstanceHealthActivity"
2017-11-25 11:01:34 +01:00
android:theme="@style/Base.V7.Theme.AppCompat.Dialog"
2017-11-24 19:55:06 +01:00
android:excludeFromRecents="true"/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.ProxyActivity"
2018-01-20 09:46:28 +01:00
android:theme="@style/Base.V7.Theme.AppCompat.Dialog"
android:excludeFromRecents="true"/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.ManageAccountsInListActivity"
2017-12-16 10:55:22 +01:00
android:windowSoftInputMode="adjustPan"
2017-12-15 07:35:13 +01:00
android:theme="@style/Base.V7.Theme.AppCompat.Dialog"
android:excludeFromRecents="true"/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.TagCacheActivity"
android:theme="@style/Base.V7.Theme.AppCompat.Dialog"
android:excludeFromRecents="true"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.PeertubeUploadActivity"
2019-01-07 16:44:19 +01:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
2019-05-18 11:10:30 +02:00
<activity android:name="app.fedilab.android.activities.PeertubeEditUploadActivity"
2019-01-07 19:16:15 +01:00
android:windowSoftInputMode="stateAlwaysHidden"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
/>
<provider
android:name="android.support.v4.content.FileProvider"
2019-05-18 11:10:30 +02:00
android:authorities="app.fedilab.android.fileProvider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"/>
</provider>
2017-05-05 16:36:04 +02:00
</application>
</manifest>