I've implemented a simple deep link activity in my xamarin android app, in my activity I've set up an intent filter in order to get the value from that link and redirect the user to the splash screen.
It works when the app is not in background (closed), is not working when the app is already opened. If is opened is opening the app straight away to the current activity, skipping the DeepLInkActicity and the SlashActivity as well..
The expected result is to always execute the deep link activity and redirect the user to the splash.
DeepLinkActivity (just the top part)
namespace Test_Android
{
[Activity (Label = "DeepLinkActivity",
Theme = "@style/Theme.Transparent",
NoHistory = true
)]
[IntentFilter(
new [] {Android.Content.Intent.ActionView },
DataScheme="scheme",
Categories=new [] { Android.Content.Intent.CategoryDefault, Android.Content.Intent.CategoryBrowsable })]
public class DeepLinkActivity : Activity
{
.....