taljacobson / flutter_mailer

A wrapper on top of MFMailComposeViewController from iOS and Mail Intent on android
MIT License
46 stars 35 forks source link

iOS Mail App and Default Mail App #34

Open TheGlorySaint opened 3 years ago

TheGlorySaint commented 3 years ago

Having Setup Mailer without URL_Launcher, on my iPhone 11 Pro on iOS 14.0.2, i can't send Mail's because it tells, no Mail Client is installed. I have the iOS Mail App and the Spark Mail App installed with the Spark as my Default Mail App. Since iOS 14 is out, you can choose the default Mail App.

Will Mailer be updated so it is opening the default Mail App when there is another selected then the Stock iOS Mail App?

So adding maybe a openDefaultMailApp Function?

taljacobson commented 3 years ago

https://developer.apple.com/forums/thread/653146

I'm not sure that you will be able to send the email to what is set as the default mail app.

I do believe that if you have the ios mail app installed that it should use it.

I can't seem to find a way to check if the mail to handler was changed from the ios mail app. But maybe it's possible.

A Pull request would be much appreciated, since my test device is too old for ios 14.