+ android:exported="true"
+ android:permission="com.amazon.inapp.purchasing.Permission.NOTIFY">
diff --git a/app/src/debug/AndroidManifest.xml b/app/src/debug/AndroidManifest.xml
index 050fdb3420..184e59b1d7 100644
--- a/app/src/debug/AndroidManifest.xml
+++ b/app/src/debug/AndroidManifest.xml
@@ -4,6 +4,9 @@
android:installLocation="internalOnly">
+
diff --git a/app/src/fdroid/AndroidManifest.xml b/app/src/fdroid/AndroidManifest.xml
index bc3b6189ce..9c2fe721e3 100644
--- a/app/src/fdroid/AndroidManifest.xml
+++ b/app/src/fdroid/AndroidManifest.xml
@@ -4,6 +4,9 @@
android:installLocation="internalOnly">
+
diff --git a/app/src/github/AndroidManifest.xml b/app/src/github/AndroidManifest.xml
index 433abd0c8f..955d72aee9 100644
--- a/app/src/github/AndroidManifest.xml
+++ b/app/src/github/AndroidManifest.xml
@@ -4,6 +4,9 @@
android:installLocation="internalOnly">
+
diff --git a/app/src/large/AndroidManifest.xml b/app/src/large/AndroidManifest.xml
index 433abd0c8f..955d72aee9 100644
--- a/app/src/large/AndroidManifest.xml
+++ b/app/src/large/AndroidManifest.xml
@@ -4,6 +4,9 @@
android:installLocation="internalOnly">
+
diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java
index 7e4c6f7705..98ca61febb 100644
--- a/app/src/main/java/eu/faircode/email/Helper.java
+++ b/app/src/main/java/eu/faircode/email/Helper.java
@@ -512,6 +512,8 @@ public class Helper {
permissions.add(Manifest.permission.READ_CONTACTS);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU)
permissions.add(Manifest.permission.POST_NOTIFICATIONS);
+ if (!BuildConfig.PLAY_STORE_RELEASE)
+ permissions.add(Manifest.permission.ACCESS_LOCAL_NETWORK);
try {
PackageManager pm = context.getPackageManager();
diff --git a/index.html b/index.html
index 8c60ccdc1f..7b0dc390f4 100644
--- a/index.html
+++ b/index.html
@@ -460,6 +460,7 @@
ask to ignore battery optimizations (REQUEST_IGNORE_BATTERY_OPTIMIZATIONS): to disable battery optimizations, please see this FAQ for more information
allow the app to show notifications (POST_NOTIFICATIONS): to show new message notifications and (account) warnings and errors (Android 13 and later only)
Google Play (in-app) billing service (BILLING): for in-app purchases
+Nearby devices (ACCESS_LOCAL_NETWORK): to access email servers via local network addresses (Android 17 and later only; not available in the Play Store release)
The following Android permissions are optional: