question

YuvalTirosh-6818 avatar image
0 Votes"
YuvalTirosh-6818 asked RobCaplan edited

Xamarin.Forms iOS Deep Linking VS for MAC

Hello all,

I'm using deep-linking in Xamarin.Forms, overriding
ContinueUserActivity(UIApplication, NSUserActivity, UIApplicationRestorationHandler) in AppDelegate and OnAppLinkRequestReceived(Uri) in the shared project's App.

The app opens properly when invoked from textual link (e.g. email app), but not from the browser (e.g. when scanning a QR code). When suing the browser, iOS navigates to website instead of the app.

Wondering if this is the expected behavior or not.
Xamarin.Forms 65.0.0.2012
VS for Mac 8.8.8 (build 12)
Tested with iPhone 12 mini iOS 14.4

Cheers,
Yuval

dotnet-xamarin
· 4
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.

@YuvalTirosh-6818 More info about Deep Linking, you can refer to Allowing Apps and Websites to Link to Your Content. To open the app in Safari, try to go to Settings->Safari->Request Desktop Website->All websites and switch off. If it doesn't work, could you provide a minimal, reproducible example via OneDrive or Github?

0 Votes 0 ·

Thanks @KyleWang-MSFT ,
The app supports the associated domain and the website has the apple-app-site-association set up which allows the app to be opened when clicking a textual link to the website. I verified that the Safari setting is off and still the issue persists. I will upload a sample and share the link soon.
Cheers!
Yuval

0 Votes 0 ·

@YuvalTirosh-6818 May I know whether your issue has been solved or not? If not, please share it in here.

0 Votes 0 ·
Show more comments

0 Answers