Skip to content

Commit

Permalink
[Android] Starting from android 30 the queries section in the manifes…
Browse files Browse the repository at this point in the history
…t is required
  • Loading branch information
Wolfteam committed Mar 9, 2022
1 parent 7f2b79c commit fe03f7a
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions android/app/src/main/AndroidManifest.xml
Expand Up @@ -11,21 +11,34 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.android.vending.BILLING" />

<!-- This is required starting from android 30 -->
<queries>
<!-- If your app opens https URLs -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
<!-- If your app sends emails -->
<intent>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="*/*" />
</intent>
</queries>
<application
android:name="${applicationName}"
android:allowBackup="false"
android:fullBackupContent="false"
android:icon="@mipmap/launcher_icon"
android:label="Shiori"
android:requestLegacyExternalStorage="true"
android:allowBackup="false"
android:fullBackupContent="false"
tools:replace="android:allowBackup">
<activity
android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:exported="true"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:exported="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
Expand Down

0 comments on commit fe03f7a

Please sign in to comment.