linkify-text icon indicating copy to clipboard operation
linkify-text copied to clipboard

Handle ActivityNotFoundException

Open fwh-dc opened this issue 3 years ago • 1 comments

Hi,

If no app can handle the URI then

uriHandler.openUri(result.item)

throws ActivityNotFoundException. Consider wrapping it with a try-catch.

fwh-dc avatar Feb 09 '22 16:02 fwh-dc

Yes, is should be wrapped. Will update it.

firefinchdev avatar Feb 09 '22 18:02 firefinchdev