Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add SENDTO query for flutter_email_sender

ashilkna27ec78ecd54
diff --git a/mobile/apps/locker/android/app/src/main/AndroidManifest.xml b/mobile/apps/locker/android/app/src/main/AndroidManifest.xml
index 0439f40430..fc7fa0e4f7 100644
--- a/mobile/apps/locker/android/app/src/main/AndroidManifest.xml
+++ b/mobile/apps/locker/android/app/src/main/AndroidManifest.xml
@@ -72,6 +72,11 @@
<action android:name="android.intent.action.PROCESS_TEXT"/>
<data android:mimeType="text/plain"/>
</intent>
+ <!-- Allow flutter_email_sender to discover installed mail clients on Android 11+ -->
+ <intent>
+ <action android:name="android.intent.action.SENDTO" />
+ <data android:scheme="mailto" />
+ </intent>
</queries>
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
</manifest>