Currently we have an MDK app and we want to implement the functionality of sending emails by opening the default email application in the related device (Android or iOS) using the standard "mailto:" URI scheme.
We are calling the "openURL" function based on the following blog:
Implement Deep Linking to Another App from an MDK App
We are passing something like:
'mailto:firstname.lastname@example.org?& subject=subject&body=body& target="_blank" ' as string in the "openURL" parameter. (We added this & target="_blank" checking some blogs as workaround, but did not work for iOS).
It is working in Android but is not working at iOS.
Could you please comment what could be the error here? Is there a different way for opening default email application in the device?
Thanks in advance for your comments.