1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-28 06:03:40 +00:00

catch EnableForegroundDispatch exception. disable

back button on yubikey 2fa.
This commit is contained in:
Kyle Spearrin
2018-08-01 15:45:32 -04:00
parent 7c781b60c5
commit 58aa37bf8e
2 changed files with 17 additions and 2 deletions

View File

@@ -233,8 +233,12 @@ namespace Bit.Android
ndef.AddDataScheme("https");
var filters = new IntentFilter[] { ndef };
// register for foreground dispatch so we'll receive tags according to our intent filters
adapter.EnableForegroundDispatch(this, pendingIntent, filters, null);
try
{
// register for foreground dispatch so we'll receive tags according to our intent filters
adapter.EnableForegroundDispatch(this, pendingIntent, filters, null);
}
catch { }
}
else
{