Skip to content

ShareModal: add copy link option (#77)#92

Open
Taffroi wants to merge 1 commit intojoinloops:mainfrom
Taffroi:add-copy-video-link
Open

ShareModal: add copy link option (#77)#92
Taffroi wants to merge 1 commit intojoinloops:mainfrom
Taffroi:add-copy-video-link

Conversation

@Taffroi
Copy link
Copy Markdown
Contributor

@Taffroi Taffroi commented Mar 9, 2026

In many applications, a quick button is dedicated to copy the link. This PR adds this so the user can skip the native share composent.

Screenshot_1773068515

NOT TESTED ON REAL DEVICES AND ON IOS

It's still room for improvement. I believe there's no native way to add a toast message "Text copied to clipboard" to iOS, so I used an alert, not sure how it renders. To workaround this, we could add the dependency "react-native-toast-message" ?

Also, it would be great to change temporarily the copy link button to a checkmark with a "Copied!" label, to make it even more clear it's copied.

Also, maybe close the share modal after clicking since it's a quick way to copy the link ? Idk, some apps do this, others don't.

Fixes #77

In many applications, a quick button is dedicated to copy the link. This PR adds this so the user can skip the native share composent.

NOT TESTED ON REAL DEVICES AND ON IOS

It's still room for improvement. I believe there's no native way to add a toast message "Text copied to clipboard" to iOS, so I used an alert, not sure how it renders. To workaround this, we could add the dependency "react-native-toast-message" ?

Also, it would be great to change temporarily the copy link button to a checkmark with a "Copied!" label, to make it even more clear it's copied.

Also, maybe close the share modal after clicking since it's a quick way to copy the link ? Idk, some apps do this, others don't.

Fixes joinloops#77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature request: possibility to copy only the url (Android app)

1 participant