Trying to add mailto - react native
Use this code :-
Linking.openURL(`mailto:${props.ArticleData.email}`)
This solution wast tested on an android emulator with a GoogleApi system image:
After you have the emulator configured you can use something like you are using:
<TouchableHighlight onPress={() => Linking.openURL('mailto:[email protected]?subject=abcdefg&body=body')}>
<Text>email1</Text>
</TouchableHighlight>
or
You can use a package like https://www.npmjs.com/package/react-native-autolink
<AutoLink
text="email2 (mailto:[email protected])"
/>
Link not work on Simulator.
React native linking mail api support subject, body?
Apple URL Scheme Reference