I am using ActionSheetIOS
to let user open his personal Email client on iOS. Unfortunately I do not know how to populate the recipient (to
part) of the email.
I didn't find anything in the RN documentation.
Any help?
I am using ActionSheetIOS
to let user open his personal Email client on iOS. Unfortunately I do not know how to populate the recipient (to
part) of the email.
I didn't find anything in the RN documentation.
Any help?
Because as some guys confirmed that this thing is impossible, I think I will go for this other way: https://github.com/chirag04/react-native-mail
You could try opening the mail client with Linking.openURL() and a mailto: link.
something like: Linking.openURL('mailto:example@domain.com?subject=example&body=example').catch(err => console.error('An error occurred', err)
.