Reputation: 427
I want to add applinking in my Maui app. I follow this guide for Xamarin: https://www.xamboy.com/2019/01/08/applinks-in-xamarin-forms/
Now I registered my applink for android in MainActivity.cs
[IntentFilter(new[] { Android.Content.Intent.ActionView },
DataScheme = "https",
DataHost = "xxx.com",
DataPathPrefix = "/Share",
AutoVerify =true,
Categories = new[] { Android.Content.Intent.CategoryDefault, Android.Content.Intent.CategoryBrowsable })]
In this question James Montemagno (https://techcommunity.microsoft.com/t5/app-development/net-maui-applinks/m-p/3090344) mentioned that I have to register the Link in AppDelegate for iOS in a Maui app. The problem: I don't know how to do this.
Could anyone explain me?
Upvotes: 0
Views: 1477
Reputation: 427
Credits: LiqunShen-MSFT
Use this Link to create a Entitlements.plist: https://learn.microsoft.com/en-us/dotnet/maui/ios/deployment/entitlements?view=net-maui-7.0
And use this guide to register your domain in it: https://www.xamboy.com/2019/01/08/applinks-in-xamarin-forms/
Upvotes: 0