question

hotn avatar image
0 Votes"
hotn asked hotn answered

Bizarrely Inconsistent Xamarin AppLinks behaviour on iOS 14.6

I have three iOS devices running the same OS version 14.6 and only two of them opens the links; the third opens the browser.

We cannot release-to-store until we have resolved this.

Naturally, I've registered the link structure using the apple-app-site-association file in the app, and have overidden OnAppLinkRequestReceived(Uri uri) in App.xaml.cs in the Xamarin Forms project, and have registered the AppLinkEntry in AppDelegate.

When clicking on a link of that pattern in an email, the first two devices (as follows) opens the app and fires OnAppLinkRequestReceived, and yet the third device - latest iPhone 12+ also on 14.6 - merely opens the browser when the same link is clicked in an email.

This is bizarre, I would expect them to all behave the same.

Opens Link:
iPhone - 6S (running 14.6)
iPad - 6th Generation (running 14.6)

Does NOT open Link:
iPhone 12+ (running 14.6)

Any ideas?

Kind regards.


dotnet-xamarin
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@hotn Do you test it in the iOS simulator or any other iPhone 12+? Does it work? Try the workaround privided here.

0 Votes 0 ·

Thanks Kyle, but here's one for the books - our web team did an IIS upgrade and accidentally deleted the apple-app-site-association file in the .well-known folder!

That also explains why other developers phones were working, but the new developer's wasn't - they already had the app installed, hence their version of the app had already authenticated the apple-app-site-association file!

thanks, btw!

Kind regards!

0 Votes 0 ·

1 Answer

hotn avatar image
0 Votes"
hotn answered

SOLVED!!!

Our web team did an IIS upgrade and accidentally deleted the apple-app-site-association file in the .well-known folder, and this meant that new installations couldn't authenticate the AppLinks url, however those which already had, continued to work!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.