# App share sheet duplicates URLs shared

**URL:** <https://forum.newsblur.com/t/app-share-sheet-duplicates-urls-shared/6649>\
**Category:** problem\
**Created:** [September 29, 2017, 12:29am UTC](https://forum.newsblur.com/t/app-share-sheet-duplicates-urls-shared/6649 "2017-09-29T00:29:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Lynch](https://forum.newsblur.com/user_avatar/forum.newsblur.com/david_lynch/32/221_2.png) [@David\_Lynch](https://forum.newsblur.com/u/David_Lynch)\
**Post date:** [September 29, 2017, 12:29am UTC](https://forum.newsblur.com/t/app-share-sheet-duplicates-urls-shared/6649/1 "2017-09-29T00:29:00Z")

</div>

Sharing a story through the share sheet doubles-up the URL that’s shared, like so to Messages:&nbsp; ![](https://d2r1vs3d9006ap.cloudfront.net/s3_images/1655555/RackMultipart20170929-101556-l09yld-IMG_A3CC2E962905-1_inline.jpeg?1506644722 "Image: https://d2r1vs3d9006ap.cloudfront.net/s3\_images/1655555/RackMultipart20170929-101556-l09yld-IMG\_A3CC2E962905-1\_inline.jpeg?1506644722")

In fact, given that since iOS 10 we’ve had good previews for URL content in messages, share-to-messages in particular should probably only include the URL and not bother with the title. As-is, I have to manually delete a bunch of stuff from the content shared before I can send it.

Incidentally, just choosing the “copy” share option actually triples the URL:  
 ![](https://d2r1vs3d9006ap.cloudfront.net/s3_images/1655556/RackMultipart20170929-100460-pnto8a-IMG_00E46434FF73-1_inline.jpeg?1506644915 "Image: https://d2r1vs3d9006ap.cloudfront.net/s3\_images/1655556/RackMultipart20170929-100460-pnto8a-IMG\_00E46434FF73-1\_inline.jpeg?1506644915")

---

<div class="post-metadata">

**Author:** ![David\_Lynch](https://forum.newsblur.com/user_avatar/forum.newsblur.com/david_lynch/32/221_2.png) [@David\_Lynch](https://forum.newsblur.com/u/David_Lynch)\
**Post date:** [September 29, 2017, 3:10am UTC](https://forum.newsblur.com/t/app-share-sheet-duplicates-urls-shared/6649/2 "2017-09-29T03:10:00Z")

</div>

(This isn’t a new development in iOS 11, I’ve just been super-lazy about getting around to writing a report for it.)

---

<div class="post-metadata">

**Author:** ![richard4339](https://forum.newsblur.com/user_avatar/forum.newsblur.com/richard4339/32/1135_2.png) [@richard4339](https://forum.newsblur.com/u/richard4339)\
**Post date:** [September 29, 2017, 3:51pm UTC](https://forum.newsblur.com/t/app-share-sheet-duplicates-urls-shared/6649/3 "2017-09-29T15:51:00Z")

</div>

I’m thinking something changed in the background in iOS 10 that broke this a while back, because NewsBlur is not the only iOS app that has this problem FYI.

---

<div class="post-metadata">

**Author:** ![David\_Lynch](https://forum.newsblur.com/user_avatar/forum.newsblur.com/david_lynch/32/221_2.png) [@David\_Lynch](https://forum.newsblur.com/u/David_Lynch)\
**Post date:** [September 29, 2017, 4:40pm UTC](https://forum.newsblur.com/t/app-share-sheet-duplicates-urls-shared/6649/4 "2017-09-29T16:40:00Z")

</div>

It’s the only one I’ve noticed it in, but I’ll grant that the set of apps I regularly share stuff from is pretty small, and it’s entirely plausible others fixed it before I ever saw the problem.

---

<div class="post-metadata">

**Author:** ![richard4339](https://forum.newsblur.com/user_avatar/forum.newsblur.com/richard4339/32/1135_2.png) [@richard4339](https://forum.newsblur.com/u/richard4339)\
**Post date:** [September 29, 2017, 4:48pm UTC](https://forum.newsblur.com/t/app-share-sheet-duplicates-urls-shared/6649/5 "2017-09-29T16:48:00Z")

</div>

I just duplicated it in another iOS app, but it’s only doubled again when doing the clipboard option. A quick Google search showed nothing where others are reporting it en masse.

However, I did find one thing I wanted to point out that might be nice. Apparently you can also do a share sheet option where you just pass the URL to get the Copy Link functionality, which I wouldn’t complain about having either. Not sure I’d want to get rid of Copy if it’s one or the other though.

[https://stackoverflow.com/a/33653263/7906133](https://stackoverflow.com/a/33653263/7906133)

---

<div class="post-metadata">

**Author:** ![samuelclay](https://forum.newsblur.com/user_avatar/forum.newsblur.com/samuelclay/32/857_2.png) [@samuelclay](https://forum.newsblur.com/u/samuelclay)\
**Post date:** [September 29, 2017, 5:28pm UTC](https://forum.newsblur.com/t/app-share-sheet-duplicates-urls-shared/6649/6 "2017-09-29T17:28:00Z")

</div>

Thanks for all the responses in this thread. I checked all of the share sheet options and they all work perfectly except for iMessage. And if you take a look at the code you’ll see that I’m setting up the share sheet properly.

[https://github.com/samuelclay/NewsBlur/blob/master/clients/ios/Classes/NewsBlurAppDelegate.m#L730-L8…](https://github.com/samuelclay/NewsBlur/blob/master/clients/ios/Classes/NewsBlurAppDelegate.m#L730-L830)

---

<div class="post-metadata">

**Author:** ![Nicholas\_Riley](https://forum.newsblur.com/letter_avatar_proxy/v4/letter/n/e36b37/32.png) [@Nicholas\_Riley](https://forum.newsblur.com/u/Nicholas_Riley)\
**Post date:** [September 30, 2017, 1:05am UTC](https://forum.newsblur.com/t/app-share-sheet-duplicates-urls-shared/6649/7 "2017-09-30T01:05:00Z")

</div>

What actually gets provided to the activities&nbsp;actually is elsewhere in the code — I had gone through all the options last year and tried to fix them up but clearly something has changed since then!

[https://github.com/samuelclay/NewsBlur/pull/1047](https://github.com/samuelclay/NewsBlur/pull/1047 "Link https//githubcom/samuelclay/NewsBlur/pull/1047")

---

<div class="post-metadata">

**Author:** ![samuelclay](https://forum.newsblur.com/user_avatar/forum.newsblur.com/samuelclay/32/857_2.png) [@samuelclay](https://forum.newsblur.com/u/samuelclay)\
**Post date:** [October 5, 2017, 12:13am UTC](https://forum.newsblur.com/t/app-share-sheet-duplicates-urls-shared/6649/8 "2017-10-05T00:13:00Z")

</div>

Thanks for this Nicholas! I’ve got some nice changes going for iOS 11 and should hopefully beta test for a week and push this out soon enough.
