samuelclay / NewsBlur

NewsBlur is a personal news reader that brings people together to talk about the world. A new sound of an old instrument.
http://www.newsblur.com
MIT License
6.9k stars 1k forks source link

iOS: Handle app store links #954

Open samuelclay opened 8 years ago

samuelclay commented 8 years ago

Should take user to the app store. Here's a sample feed and support forum: https://getsatisfaction.com/newsblur/topics/app-store-links-not-working

Dejal commented 6 years ago

Investigating this one, the app seems to do the right thing. When viewing a story for the iphone-ticker.de site, an app link actually links to their website, e.g. with a URL like http://www.ifun.de/app/650377962. So as expected, that site is loaded in a web view, which then loads the App Store. Presumably they want to detect link clicks, which is why they redirect from their site instead of going directly to the App Store. I don't think it'd be reasonable or good practice to provide a special case to bypass that.

Unless I'm missing something, given that this issue is two years old without further clarification, should probably close it.

samuelclay commented 6 years ago

That particular link uses a redirect, but sometimes they have the itms:// or itms-apps:// url, and in that case I'd like to popup a Open App Store / Cancel dialog.

Dejal commented 6 years ago

Okay, I'll try to find other examples. I did confirm that other sites that include App Store links (e.g. MacStories) do display the Open App Store prompt.

Dejal commented 6 years ago

I haven't found any posts on that feed, or on other feeds, that don't either go via their website, as above, or go directly to the App Store. Can you point me to an example where this doesn't work?

samuelclay commented 6 years ago

Soon as I find something I'll update this ticket.