react-native-mail
react-native-mail copied to clipboard
Mail doesn't open - iOS - 11.2.2
Hi!
I have an issue with opening mail on the iOS. I have an iPhone X with 11.2.2. I have set up an email account on it. When I compose mail:
Mailer.mail({
subject: emailTitle,
body: emailBody,
isHTML: false,
}, (error, event) => {
console.log('Error while emailing notes', error, event);
});
nothing happens. I can see the following logs in my debugger:
2018-04-06 15:24:14.365060+0200 example[271:9475] [MC] Filtering mail sheet accounts for bundle ID: com.example, source account management: 1
But then no window shows up. On Android everything is fine. Any ideas on whats going on?
Are you running this on simulator? you need to run this on a real device.
Yes, I run this on the device. I found out that this was casued by invoking setState method right after using Mailer. As of now I am using timeout to open the mail view. :/
On Fri, Apr 6, 2018, 17:05 Chirag [email protected] wrote:
Are you running this on simulator? you need to run this on a real device.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chirag04/react-native-mail/issues/105#issuecomment-379281951, or mute the thread https://github.com/notifications/unsubscribe-auth/AJGRCk89fGvxGpyCK2feGR0mJXuGiJCdks5tl4QcgaJpZM4TKDcO .
same to me on ios 12
Same to me on IOS 12.1