I am trying to open compose mail page of native default app in ios using flutter app but unable to do it. It shows me blank pop up window.
I have tried all kind of solution related to url_launcher but nothing is working for me.
Below is my code which i am using for opening native app from flutter app.
_sendingMails() async {
const url = 'mailto:xyz@mail.com';
if (await canLaunch(url)) {
await launch(url);
} else {
throw 'Could not launch $url';
}
}
I have added url scheme as well in info.plist file.
<key>LSApplicationQueriesSchemes</key>
<array>
<string>mailto</string>
</array>
But still it gives me white pop up window in ios and in android its working fine.