// expo install expo-clipboard
// then
import * as Clipboard from 'expo-clipboard';
const copyLink = () => {
if (invitationLink.length > 0) {
Clipboard.setString(invitationLink);
alert("Copied Sucessfully!");
} else {
alert("Error on copy!");
}
};