- Edited
I could be completely wrong, as I don't have any experience with the share APIs in macos/ios, but it seems like that on both desktop and mobile, the share functionality shares the content of a url as a NSString rather than a NSURL, resulting in unexpected behavior for everyone.
I believe these issues may be caused by the sharing of a NSString, and likely many more.
- https://orionfeedback.org/d/2761-share-to-drafts-application-from-share-sheet-not-behaving-like-safari
- https://orionfeedback.org/d/7750-share-sheet-missing-site-title-and-selected-text-when-sharing
- https://orionfeedback.org/d/8413-ios-shortcuts-do-not-appear-in-the-share-sheet-like-expected
- https://orionfeedback.org/d/4221-ios-share-extension-to-bookmark-a-webpage-within-other-apps
- https://orionfeedback.org/d/5891-cannot-share-items-to-mac-application-paprika-recipe-manager
- https://orionfeedback.org/d/6524-generating-markdown-links
Additionally, sharing a url to apps like notes and messages results in text being displayed, rather than the embed that is generated when sharing from Safari. this is likely the result of not sharing a NSURL
This should fix most issues regarding the unexpected behavior of the share sheet on macos and ios.