Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Deeplinks with new Xamarin forms not working

$
0
0

Hello,

I have a very simple project. I'm trying to test AppLinkEntry (Deeplink).

I have a very simple test code, creating a simple LinkEntry :

                var url = $"https://www.mywebsite.com";

                var entry = new AppLinkEntry
                {
                    Title = "Welcome to MainPage",
                    Description = "This is the main page item",
                    AppLinkUri = new System.Uri(url),
                    IsLinkActive = true,
                    Thumbnail = ImageSource.FromFile("appIcon80.png")
                };

                entry.KeyValues.Add("contentType", "item");
                entry.KeyValues.Add("appName", "XamarinDeepLinks");
                entry.KeyValues.Add("companyName", "Test");


                Application.Current.AppLinks.RegisterLink(entry);

This code is executed during the OnAppearing() of a page.

But, when I'm trying to look for my link on ios simulator, it is not appearing... Nothing.

Do you notice the same issue ? I'm using 2.5.0.xxx Xamarin.Forms.

Many thanks for your feedback.

Marc


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>