I am using Deeplinking in iOS version 12.1 Simulartor ,app links does get created but OnAppLinkRequestReceived doesnt get hit
Related links :
In simulator go to search view - enter the same URL
--or--
Open it from some other app , like - iMessages
Search bar should preview the App link but does not
I have not linked it with Azure but I think it should show as indexed URL
App links indexed should be shown on iOS
App links not shown
Reproduced repo : DeeplinkingiOSIssue
Hi @pmahend1 I think that doc might not be updated, to integrate with website you need a set of other requirements. Do you have AASA (apple-app-site-association) file on your website? via https? You also will need to set associated domains in the app configuration on apple.developer portal as well as in the app itself on Entitlements list. Do you have the requirements ?
Heres some good post explaining :
https://medium.com/@abhimuralidharan/universal-links-in-ios-79c4ee038272
The document clearly states "On the iOS platform, there's no additional setup required to use this functionality.". I think this was for iOS version 9 or below. I read that from version 9 Apple enabled Universal linking which does require, AASA and website set up. I was expecting at least app URL indexing to work per Deeplinking documentation (thought it was local)
There were issues with Android deeplinking too which I notified at Xamarin.forms-samples but still its pending too.
My question is does this Deeplinking i.e Xamarin.Forms.Applinks do work with latest iOS versions with these other set-ups for universal linking?
@pmahend1 i have talked with docs team and they are preparing a new sample.
@davidbritch can you please notify here when we release the new docs / sample for this.
Thanks
Update : I followed this link for Universal links on iOS with Xamarin forms , Still OnAppLinkRequestReceived doesnt get hit. I did create a website from Azure and deployed with a valid AASA file and tested on real device.
Updated the doc and sample a few weeks ago.
@pmahend1 and @rmarinho I can confirm that this is not working in my Xamarin.Forms iOS app. Universal Links used to work before my upgrade to the iOS 12.1 SDK. In fact, I just upgraded from XF 2.5.1.444934 to 3.6.0.264807 thinking this might fix the problem. My test device is an iOS 6S running 12.1.4. It works just fine on Android. Just tested using this link (http://branch.io/resources/aasa-validator/) and everything is still Green. Please advise.
I am also having problems setting up Universal Links on my Xamarin.Forms iOS app. Added the apple-app-site-association file to my site and added the domain to the associated domains in my Entitlements.plist. Deep Linking is working fine for Android but iOS is causing me a lot of issues.
I get it called on iOS by
Xamarin.Forms.Application.Current.SendOnAppLinkRequestReceived(new Uri(shortcutItem.Type));