android/app/src/main/AndroidManifest.xml (2447 bytes)
1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"> 3 4 <application 5 android:allowBackup="true" 6 android:icon="@drawable/icon" 7 android:label="@string/app_name" 8 android:supportsRtl="true" 9 android:theme="@style/AppTheme"> 10 11 <activity 12 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode|navigation|density" 13 android:name=".MainActivity" 14 android:label="@string/title_activity_main" 15 android:theme="@style/AppTheme.NoActionBarLaunch" 16 android:launchMode="singleTask" 17 android:exported="true"> 18 19 <intent-filter> 20 <action android:name="android.intent.action.MAIN" /> 21 <category android:name="android.intent.category.LAUNCHER" /> 22 </intent-filter> 23 24 </activity> 25 26 <!-- Gives the book text to SubRead, and the finished .srt to the share sheet. --> 27 <provider 28 android:name="androidx.core.content.FileProvider" 29 android:authorities="${applicationId}.fileprovider" 30 android:exported="false" 31 android:grantUriPermissions="true"> 32 <meta-data 33 android:name="android.support.FILE_PROVIDER_PATHS" 34 android:resource="@xml/file_paths"></meta-data> 35 </provider> 36 </application> 37 38 <!-- Android 11 and later hide other apps without this. --> 39 <queries> 40 <package android:name="space.subread.app" /> 41 <package android:name="space.subread.overlay" /> 42 <package android:name="space.subread.overlay.debug" /> 43 <package android:name="space.subread.dictionary" /> 44 <package android:name="space.subread.anki" /> 45 <package android:name="space.subread.anki.debug" /> 46 <!-- The player provider of SubRead Overlay: the release build and the debug build. --> 47 <provider android:authorities="space.subread.overlay.player;space.subread.overlay.debug.player" /> 48 <!-- The dictionary apps: each app in the text selection menu. --> 49 <intent> 50 <action android:name="android.intent.action.PROCESS_TEXT" /> 51 <data android:mimeType="text/plain" /> 52 </intent> 53 </queries> 54 55 <!-- Permissions --> 56 57 <uses-permission android:name="android.permission.INTERNET" /> 58 </manifest>