Open maxdemaio opened 3 weeks ago
This should close #82
I haven't set up the repo yet so I need to test this more. But I have a repo where I made this change since the clipboard api doesn't work on Safari on mobile.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
shiptalkers | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 13, 2024 3:55pm |
Screenshot of it working on Safari!
Chrome shouldn't have navigator.share
and I tested it works the same.
Fun fact, both Safari and FireFox don't consider localhost
to be a secure context even if you try and run NextJs in a secure context. Also, the docs mention both navigator.clipboard
and navigator.share
don't work in non-secure contexts yet it worked when testing locally. We take those 🤷🏻
@maxdemaio is attempting to deploy a commit to the rhyssullivan's projects Team on Vercel.
A member of the Team first needs to authorize it.