2020-09-03 18:30:40 +02:00
|
|
|
|
using Android.App;
|
|
|
|
|
using Android.Content.PM;
|
2021-12-15 19:09:08 +01:00
|
|
|
|
using Android.OS;
|
2023-09-29 16:02:19 +02:00
|
|
|
|
using Bit.App.Droid.Utilities;
|
2020-09-03 18:30:40 +02:00
|
|
|
|
|
|
|
|
|
namespace Bit.Droid
|
|
|
|
|
{
|
2021-05-19 21:55:16 +02:00
|
|
|
|
[Activity(
|
|
|
|
|
NoHistory = true,
|
2022-09-16 17:44:15 +02:00
|
|
|
|
LaunchMode = LaunchMode.SingleTop,
|
|
|
|
|
Exported = true)]
|
2020-09-03 18:30:40 +02:00
|
|
|
|
[IntentFilter(new[] { Android.Content.Intent.ActionView },
|
|
|
|
|
Categories = new[] { Android.Content.Intent.CategoryDefault, Android.Content.Intent.CategoryBrowsable },
|
|
|
|
|
DataScheme = "bitwarden")]
|
2023-09-29 16:02:19 +02:00
|
|
|
|
public class WebAuthCallbackActivity : WebAuthenticatorCallbackActivity
|
2021-12-15 19:09:08 +01:00
|
|
|
|
{
|
|
|
|
|
protected override void OnCreate(Bundle savedInstanceState)
|
|
|
|
|
{
|
|
|
|
|
Intent?.Validate();
|
|
|
|
|
base.OnCreate(savedInstanceState);
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-09-03 18:30:40 +02:00
|
|
|
|
}
|