Please fix mailto errors for android 11 - Mendix Forum

Please fix mailto errors for android 11


Hi, we have a problem opening email adresses in android 11 from a mendix native app, can you please add an intent to open mailto's in the androidmanifest.xml's of mendix nativetemplate? at the queries tag add intent of mailto :

<action android:name="android.intent.action.VIEW"/>
<data android:scheme="mailto"/>


and add to the intent-filter after activity the following:
<activity ...>
    <action android:name="android.intent.action.SENDTO" />
    <data android:scheme="mailto" />
    <category android:name="android.intent.category.DEFAULT" />
more info on:

1 answers

It seems this is still an issue on Android. We are running into the same problem on Android 13 devices. The DraftEmail JavaScript action isn't working (doesn't give an error, just returns false). The above seems to be the solution (also see React Native Linking documentation).