How to launch RSS reader app from Safari? - ios

I have an iOS RSS reader app and want to add a new feature to it - be able to launch my app from Safari if the user clicks the rss feed button on a web page.
As I know - launching is possible via URL-scheme, but what kind of URL-scheme do I need?

Check out this link: https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html
It seems like what you are searching for

Solved this issue with the help of feed URL scheme.
Moreover, you have to register additional URL type with the app name.

Related

Are iOS app clips launchable from an url?

Are iOS app clips launchable from an URL?
The Apple description says that the QR code embeds an encrypted URL to access the clips. Is it possible to use directly that link like with deep links?
As I understand, URLs can only be opened from Safari Smart App Banner. I managed to do that. Apple states in their forums that it is also possible from QR codes.
Looks like you can't just click a link - like in Universal Link - and the App Clip Card will show up.
If I understood correctly, you can set up invocation URLs in App Store Connect and when the system opens a registered URL your App Clip should launch.
You can learn more in this WWDC session and from the documentation.
When a user shares a link to a site that displays a smart banner configured for AppClip, then only message will present a banner that will invoke an App Clip.

How do I display a web page in my app, in a way that it does not take the user out of the app itself?

I want to display a webpage in my app using dart. How would I do this, so that the user isn't directed out of the app but views it in a way similar to webview for android?
You can use webview plugin:
https://pub.dartlang.org/packages/flutter_webview_plugin
Or
URL luncher:
https://pub.dartlang.org/packages/url_launcher

Short URL not opened in App with Universal Links

I have set up Universal links in my iOS app, and it works with full URL like : example.com/path/
Recently, I want short URL like: t.cn/m , which map to example.com/path/ , can be opened in my App directly. So I added appplinks:t.cn at association domain in Capabilities.
But it doesn't work. It can't be opened directly in my App.It's opened with safari and i have to click the "open" button on pull-down-banner in safari to open in my App.
It seems like short URL can't be opened directly in my App, can it?
try applink instead of appplinks
from documentation

Open iOS App by http:// link

I found a lot of tutorials about opening an app by a custom url scheme like:
myappname://
Thats nice but it would be great to open an app by registering the real app domain over the http link like
http://www.myappdomain.com/blablabla
So - for example - if a visitor comes to a webpage (on her/his mobile) it is normally opened in the browser, excepts the installed app is listening to the opened URL and opens itself instead of the browser.
How is this done (i've seen this at another app). Any help would be great. Thanks in advance!
It is a new feature in iOS9. It is explained in the WWDC15 talk Seamless linking to your App.
You could also add a small piece of javascript to each page that opens your custom URL-scheme.

Link to open up iOS app from facebook and twitter page and other ios app?

Hi I have a requirement in my app. From my ios Application(myapp),i share a link to facebook. Then I opened up my facebook account in browser or Facebook application and clicked the link, link should open in myapp if myapp is installed in the device otherwise link should open in browser. How can I achieve this ? Please suggest me step by step. Thanks in advance for your consideration and help.
I am not sure if this is possible. I have looked at various questions including
Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?
as I am sure you might have already done but these questions target their own app, mainly web app, but you want that behavior to occur from an app that is not yours like twitter or facebook. But what you can do is show them two links on facebook/twitter, if they have installed press link 1 and if they want to install, press link 2 and you can pass parameters in link 1 as you might already know.
I will also keep checking answer of this question if some one comes and gives a better solution.
There is an option called custom URL scheme in iOS. It will help you to create a URL scheme which identifies your application. You can post link with this URL scheme and when you tap on this link on your iOS device it will open up your mobile app. Please see the link below to know how to setup this.
Custom URL Scheme in iOS
This is called 'deep URL linking'. Facebook have built a service called 'App Links', which seems pretty cool.
https://developers.facebook.com/docs/ios/app-links

Resources