Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const sendFeedback = () => {
MailComposer.composeAsync({
recipients: ["unleaded@reiner.design"],
subject: "Unleaded Feedback",
body: feedbackTemplate
}).catch(() =>
Alert.alert("Unable To Send Feedback", undefined, [
{
text: "Copy feedback email",
onPress: () => Clipboard.setString("unleaded@reiner.design")
},
{
text: "OK"
}
])
);
};