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

348 lines
13 KiB
XML
Raw Normal View History

2017-04-20 18:23:59 +02:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2017-12-15 23:09:59 +01:00
xmlns:tools="http://schemas.android.com/tools"
package="jp.juggler.subwaytooter">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
tools:ignore="ScopedStorage" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<!-- CAMERAパーミッションをつけるとPlayストアにプライバシーポリシーを記載する必要がある -->
<!--<uses-permission android:name="android.permission.CAMERA"/>-->
2017-04-20 18:23:59 +02:00
<queries>
<!-- (自アプリ以外で)指定URLを開けるアプリの存在確認 -->
<intent>
<action android:name="android.intent.action.VIEW" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="http" />
</intent>
<!-- Chrome Custom Tabs の存在確認 -->
<intent>
<action android:name="android.support.customtabs.action.CustomTabsService" />
</intent>
<!-- カスタム共有ボタンのアプリ選択 -->
<intent>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="text/plain" />
</intent>
<!-- TTS読み上げに必要 -->
<intent>
<action android:name="android.intent.action.TTS_SERVICE" />
</intent>
<!-- Simejiマッシュルームプラグインの存在確認 -->
<intent>
<action android:name="com.adamrocker.android.simeji.ACTION_INTERCEPT" />
</intent>
<!-- <intent>-->
<!-- <action android:name="android.intent.action.SEND" />-->
<!-- <data android:mimeType="video/*" />-->
<!-- </intent>-->
<!-- <intent>-->
<!-- <action android:name="android.intent.action.VIEW" />-->
<!-- <data android:mimeType="video/*" />-->
<!-- </intent>-->
</queries>
2017-04-20 18:23:59 +02:00
<application
android:name=".App1"
2017-04-20 18:23:59 +02:00
android:allowBackup="true"
android:fullBackupContent="@xml/backup_spec"
2017-04-20 18:23:59 +02:00
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:maxAspectRatio="100"
android:resizeableActivity="true"
2017-04-20 18:23:59 +02:00
android:supportsRtl="true"
2017-04-27 11:15:14 +02:00
android:theme="@style/AppTheme.Light"
tools:ignore="UnusedAttribute">
<receiver android:name=".EventReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.ACTION_MY_PACKAGE_REPLACED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<service
android:name=".notification.PollingService"
android:permission="android.permission.BIND_JOB_SERVICE" />
<service android:name=".notification.PollingForegrounder" />
2017-04-20 18:23:59 +02:00
<activity
android:name=".ActMain"
android:label="@string/app_name"
android:launchMode="singleTask"
2017-04-27 11:15:14 +02:00
android:windowSoftInputMode="adjustResize|stateAlwaysHidden">
2017-04-20 18:23:59 +02:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
2017-04-20 18:23:59 +02:00
</intent-filter>
</activity>
2017-04-29 22:51:04 +02:00
<activity
android:name=".ActCallback"
2017-04-29 22:51:04 +02:00
android:label="@string/app_name"
>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
2017-04-29 22:51:04 +02:00
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
2017-04-29 22:51:04 +02:00
<data
android:host="*"
android:pathPattern=".*"
android:scheme="subwaytooter" />
2017-04-29 22:51:04 +02: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" />
2017-05-06 08:10:05 +02:00
<data
android:host="*"
android:pathPrefix="/@"
android:scheme="https" />
2017-05-06 08:10:05 +02:00
</intent-filter>
2017-06-09 16:21:05 +02:00
<!-- https://mstdn.kemono-friends.info/users/tocchi/updates/695489 -->
<!-- URLの数字部分はstatus_id「ではない」ようだ。謎なのでまだ対応できない。。。 -->
<!--<intent-filter>-->
<!--<action android:name="android.intent.action.VIEW"/>-->
2017-06-09 16:21:05 +02:00
<!--<category android:name="android.intent.category.DEFAULT"/>-->
<!--<category android:name="android.intent.category.BROWSABLE"/>-->
2017-06-09 16:21:05 +02:00
<!--<data-->
<!--android:host="*"-->
<!--android:pathPrefix="/users/"-->
<!--android:scheme="https"/>-->
2017-06-09 16:21:05 +02:00
<!--</intent-filter>-->
2017-05-06 08:10:05 +02:00
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
2017-05-06 08:10:05 +02:00
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
2017-05-06 08:10:05 +02:00
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
2017-05-06 08:10:05 +02:00
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<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="video/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="audio/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="audio/*" />
</intent-filter>
2017-04-29 22:51:04 +02:00
</activity>
<activity
android:name=".ActPost"
android:label="@string/act_post"
2017-04-27 11:15:14 +02:00
android:windowSoftInputMode="adjustResize" >
<!--suppress AndroidElementNotAllowed -->
<layout
android:defaultWidth="320dp"
android:defaultHeight="480dp"
android:gravity="center"
android:minWidth="64dp"
android:minHeight="64dp"
tools:ignore="UnusedAttribute" />
</activity>
<activity
android:name=".ActAccountSetting"
android:label="@string/account_setting"
2017-04-27 11:15:14 +02:00
android:windowSoftInputMode="adjustResize|stateAlwaysHidden" />
<activity
android:name=".ActAppSetting"
android:label="@string/app_setting"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden" />
<activity
android:name=".ActColumnList"
android:label="@string/column_list"
2017-04-27 11:15:14 +02:00
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".ActAbout"
android:label="@string/app_about"
2017-04-27 11:15:14 +02:00
/>
<activity
android:name=".ActOSSLicense"
android:label="@string/oss_license"
2017-04-27 11:15:14 +02:00
/>
<activity
2017-04-29 22:51:04 +02:00
android:name=".ActMutedApp"
android:label="@string/muted_app" />
2017-05-08 03:16:43 +02:00
<activity
android:name=".ActMutedPseudoAccount"
android:label="@string/muted_users_from_pseudo_account" />
<activity
2017-05-08 03:16:43 +02:00
android:name=".ActMutedWord"
android:label="@string/muted_word" />
2018-01-03 23:53:37 +01:00
<activity
android:name=".ActFavMute"
android:label="@string/fav_muted_user_long" />
<activity
android:name=".ActKeywordFilter"
android:label="@string/keyword_filter_new"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden" />
2018-01-03 23:53:37 +01:00
<activity
android:name=".ActHighlightWordList"
android:label="@string/highlight_word" />
2018-01-03 23:53:37 +01:00
<activity
android:name=".ActHighlightWordEdit"
android:label="@string/highlight_word" />
2018-01-03 23:53:37 +01:00
<activity
android:name=".ActColumnCustomize"
android:label="@string/color_and_background"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden" />
2019-12-13 15:48:38 +01:00
<activity
android:name=".ActLanguageFilter"
android:label="@string/language_filter"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden" />
2019-12-13 15:48:38 +01:00
<activity
android:name=".ActDrawableList"
android:label="@string/drawable_list"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden" />
<activity
android:name=".ActNickname"
android:label="@string/nickname_and_color_and_notification_sound"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden" />
2017-05-08 03:16:43 +02:00
<activity
android:name=".ActText"
android:label="@string/select_and_copy"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden" />
<activity
android:name=".ActMediaViewer"
android:theme="@style/AppTheme.Dark.NoActionBar" />
<activity
android:name=".ActExitReasons"
android:label="@string/exit_reasons"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden" />
<meta-data
android:name="android.max_aspect"
android:value="100.0" />
<provider
2019-02-15 02:51:22 +01:00
android:name="androidx.core.content.FileProvider"
android:authorities="jp.juggler.subwaytooter.FileProvider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_provider_path" />
</provider>
<receiver android:name=".DownloadReceiver">
<intent-filter>
<action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED" />
<action android:name="android.intent.action.DOWNLOAD_COMPLETE" />
</intent-filter>
</receiver>
<service
2017-12-15 23:09:59 +01:00
android:name=".MyFirebaseMessagingService"
tools:ignore="ExportedService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<!-- Set custom default icon. This is used when no icon is set for incoming notification messages.
See README(https://goo.gl/l4GJaQ) for more. -->
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_notification" />
<!-- Set color used with incoming notification messages. This is used when no color is set for the incoming
notification message. See README(https://goo.gl/6BKBk7) for more. -->
<meta-data
android:name="com.google.firebase.messaging.default_notification_color"
android:resource="@color/Light_colorAccent" />
2018-11-18 22:08:37 +01:00
<!--https://android-developers.googleblog.com/2018/11/get-your-app-ready-for-foldable-phones.html-->
<meta-data
android:name="android.allow_multiple_resumed_activities"
android:value="true" />
2018-11-18 22:08:37 +01:00
2017-04-20 18:23:59 +02:00
</application>
</manifest>