1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-12 22:33:25 +00:00

PM-3349 Implemented HybridWebViewHandler for Android which enables 2nd factor auth flows

Ensured CustomTabbedPageHandler had it's DisconnectHandler called
Some minor code upgrades of older obsolete Xamarin Forms code.
This commit is contained in:
Dinis Vieira
2023-10-07 17:25:29 +01:00
parent 1dcd3a3daa
commit c92cd90a97
9 changed files with 159 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
namespace Bit.App
namespace Bit.App
{
public class MauiProgram
{
@@ -28,7 +28,8 @@ namespace Bit.App
Bit.App.Handlers.TimePickerHandlerMappings.Setup();
Bit.App.Handlers.ButtonHandlerMappings.Setup();
handlers.AddHandler(typeof(TabbedPage), typeof(Bit.App.Handlers.CustomTabbedPageHandler));
handlers.AddHandler(typeof(Bit.App.Pages.TabsPage), typeof(Bit.App.Handlers.CustomTabbedPageHandler));
handlers.AddHandler(typeof(Bit.App.Controls.HybridWebView), typeof(Bit.App.Handlers.HybridWebViewHandler));
#else
iOS.Core.Utilities.iOSCoreHelpers.ConfigureMAUIHandlers(handlers);
#endif