Some mobile browsers, like Safari on iOS don't support navigator.clipboard.write. So, instead, if that doesn't exist we can use the navigator.share API which popular websites like Wordle use 👍🏻 Currently, in the app if you press the "copy to clipboard" button and that API doesn't exist, nothing happens and there's just an error in the console.
Some mobile browsers, like Safari on iOS don't support
navigator.clipboard.write
. So, instead, if that doesn't exist we can use thenavigator.share
API which popular websites like Wordle use 👍🏻 Currently, in the app if you press the "copy to clipboard" button and that API doesn't exist, nothing happens and there's just an error in the console.