I've just come across apple-app-site-association.
Will it work to open an iOS webapp (created by tapping Add To Homescreen while on a Safari webpage) as opposed to a native iOS app?
I have a URL link in a newsletter email we send out that I was trying to get to open the iOS user's webapp instead of their normal Safari.
https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html
No, it doesn't; The apple-app-association file contains the bundle id of the app to be launched. Web apps aren't really apps and they don't have a bundle id, so they can't be launched
Related
I have added my URL scheme to my .plist.
I have manually tested the scheme in Safari and confirmed that it launches my app just fine.
I have generated a hosted app links link that uses the scheme.
Nothing except my own URL was entered when creating the hosted app link.
When I tap the link on my phone (with my app installed) it takes me to a page with the text You have reached an implementation detail. It's pretty obvious that Facebook didn't even try to use the URL that I had provided when creating this hosted app link.
I should add that I have successfully created other hosted app links moments before that managed to redirect to webpages and to appstore, so there's nothing wrong with mobile Safari.
Where to go from here?
Edit: My app is, of course, in development.
I was having the same issue until i updated my app settings in the facebook developer site.
In the image for #1 you enter the prefix (even though it says suffix...) for your url scheme (ex: if you use myapp://testing/here, then enter "myapp" into the field)
make sure #2 is flipped to yes
Facebook iOS Settings
This is an old thread, but after spending some time on this I realized that the https://fb.me/... links only open from within the Facebook app on the device. They will not (and are not intended) to open from a web browser. After posting the link in a Facebook group I was able to successfully open my app with it.
Im making a phone automation system with a web interface. As part of this I am looking to replace all remote controls (tv media center etc) with my phone.
I have a Roku media player that has a remote control iOS app, what I am trying to do is to launch the Roku native phone app from my web interface.
I know it is possible to launch apps via href such as this:
Launches native FB app
But I have tried both these which fail
Fails to launch native 'Roku' app
Fails to launch native 'ROKU' app
So I have two main questions:
Is it possible to launch any app from a web link, or does the app developer need to enable that function in some way?
Answer - Yes the app developer will need to set a url schemer
Is there a way to determine the URL you would need to launch an app IE the Facebook app can be launched by fb:// but can you determine that anywhere?
Answer - There is a link to multiple URL schemers for popular apps below but my understanding is that the app developer would need to release them
Thanks
JS Fiddle just in case - https://jsfiddle.net/0znc12bs/
Update - as a point of reference I am not developing an app this is a
web service trying to connect to apps I didn't author.
Update2 - I have been in touch with Roku support and their remote app
currently doesn't support deep linking.
To open the app from the web url the app developer need to set the id (deep linking) setting and URL Schemas in the app
For the famous app you can find the deep linking url from the net,from that you can make your list to open the app
else you can find on it's site if they have written that
List of sites which can provides some list of url schemas which you can use to open app from the web :https://stackoverflow.com/a/11155918/4557505
My iphone app has mobile only content. I am using facebook app link hosts (https://graph.facebook.com/app/app_link_hosts) to create canonical urls which would be shared on facebook. The body for hosting request is:
"access_token=<APP_ACCESS_TOKEN>
&ios=[
{\"url\":\"content://content/<content_id>\",
\"app_store_id\":<APP_STORE_ID>,
\"app_name\":\"<APP_NAME>\"}
]
&name=link test
&web={should_fallback:false}"
This works fine and it returns an id for the object. To test this i have shared:
https://fb.me/<canonical>
Since this app is not released yet, whenever i open the link from the facebook app it does not detect that my app is installed. It gives two action options, "Open web link" and "install APP_NAME". Both options point to a blank itunes link where the app will be. how do i test what my app does with this link before publishing the app on the app store?
this is the link returned:
https://itunes.apple.com/WebObjects/MZStore.woa/wa/redirectToContent?id=APP_STORE_ID
After sweating it out, i have finally found the solution. The url scheme should be defined in the plist file. in this case "content" without the ://
I have the following URL which links to the product page of a Mac app. I'd like to provide this URL inside my iPhone app. However, it always launches the App Store and subsequently can't display the product because it's not an iOS app. How would I tell it to open in Safari? Is this even possible?
http://itunes.apple.com/us/app/appname/idxxxxxxxxx
Haven't found an answer, so opted for directing to Appshoper URL instead.
I implemented universal links in the app and are working correctly when the app is installed. If the app is not installed, then I see safari is opening and then it is re-directing to AppStore as I had written redirection on the webpage.
But what I actually would like to happen is that it should be directed to the App Store directly without opening safari. As far as I checked the Apple documentation and other forums, it is mentioned that it cannot directly open the AppStore without opening the safari.
But I have seen some Apps like "Calm" opening the AppStore directly when a URL is shared from that app.
So, is there any way to directly open the Appstore with universal links?