mirror of
https://github.com/bitwarden/mobile
synced 2026-01-03 09:03:35 +00:00
[PM-2658] Settings Reorganization feature (#2702)
* [PM-2658] Settings Reorganization Init (#2697) * PM-2658 Started settings reorganization (settings main + vault + about) * PM-2658 Added settings controls based on templates and implemented OtherSettingsPage * PM-2658 Fix format * [PM-3512] Settings Appearance (#2703) * PM-3512 Implemented new Appearance Settings * PM-3512 Fix format * [PM-3510] Implement Account Security Settings view (#2714) * PM-3510 Implemented Security settings view * PM-3510 Fix format * PM-3510 Added empty placeholder to pending login requests and also improved a11y on security settings view. * PM-3511 Implemented autofill settings view (#2735) * [PM-3695] Add Connect to Watch to Other settings (#2736) * PM-3511 Implemented autofill settings view * PM-3695 Add Connect to watch setting to other settings view * [PM-3693] Clear old Settings approach (#2737) * PM-3511 Implemented autofill settings view * PM-3693 Remove old Settings approach * PM-3845 Fix default dark theme description verbiage (#2759) * PM-3839 Fix allow screen capture and submit crash logs to init their state when the page appears (#2760) * PM-3834 Fix dialogs strings on settings (#2758) * [PM-3834] Fix import items link (#2782) * PM-3834 Fix import items link * PM-3834 Fix import items link, removed old link. * [PM-4092] Fix vault timeout policies on new Settings (#2796) * PM-4092 Fix vault timeout policy on settings for disabling controls and reset timeout when surpassing maximum * PM-4092 Removed testing hardcoding of policy data
This commit is contained in:
committed by
GitHub
parent
218a30b510
commit
e97a37222a
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using Bit.App.Abstractions;
|
||||
using Bit.App.Pages;
|
||||
using Bit.App.Utilities;
|
||||
using Bit.Core.Abstractions;
|
||||
using Bit.Core.Utilities;
|
||||
using Bit.iOS.Core.Renderers;
|
||||
@@ -23,7 +24,7 @@ namespace Bit.iOS.Core.Renderers
|
||||
_broadcasterService = ServiceContainer.Resolve<IBroadcasterService>("broadcasterService");
|
||||
_broadcasterService.Subscribe(nameof(CustomTabbedRenderer), (message) =>
|
||||
{
|
||||
if (message.Command == "updatedTheme")
|
||||
if (message.Command is ThemeManager.UPDATED_THEME_MESSAGE_KEY)
|
||||
{
|
||||
Device.BeginInvokeOnMainThread(() =>
|
||||
{
|
||||
|
||||
@@ -12,9 +12,9 @@ namespace Bit.iOS.Core.Services
|
||||
public bool SupportsAutofillService() => false;
|
||||
public bool AutofillServiceEnabled() => false;
|
||||
public void Autofill(CipherView cipher) => throw new NotImplementedException();
|
||||
public bool AutofillAccessibilityOverlayPermitted() => throw new NotImplementedException();
|
||||
public bool AutofillAccessibilityServiceRunning() => throw new NotImplementedException();
|
||||
public bool AutofillServicesEnabled() => throw new NotImplementedException();
|
||||
public bool AutofillAccessibilityOverlayPermitted() => false;
|
||||
public bool AutofillAccessibilityServiceRunning() => false;
|
||||
public bool AutofillServicesEnabled() => false;
|
||||
public void CloseAutofill() => throw new NotImplementedException();
|
||||
public void DisableAutofillService() => throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@@ -339,6 +339,10 @@ namespace Bit.iOS.Core.Services
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool SupportsAutofillServices() => UIDevice.CurrentDevice.CheckSystemVersion(12, 0);
|
||||
public bool SupportsInlineAutofill() => false;
|
||||
public bool SupportsDrawOver() => false;
|
||||
|
||||
private UIViewController GetPresentedViewController()
|
||||
{
|
||||
var window = UIApplication.SharedApplication.KeyWindow;
|
||||
@@ -390,5 +394,8 @@ namespace Bit.iOS.Core.Services
|
||||
{
|
||||
GetPresentedViewController().DismissViewController(true, null);
|
||||
}
|
||||
|
||||
public string GetAutofillAccessibilityDescription() => null;
|
||||
public string GetAutofillDrawOverDescription() => null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -115,6 +115,7 @@ namespace Bit.iOS.Core.Utilities
|
||||
var cryptoFunctionService = new PclCryptoFunctionService(cryptoPrimitiveService);
|
||||
var cryptoService = new CryptoService(stateService, cryptoFunctionService);
|
||||
var biometricService = new BiometricService(stateService, cryptoService);
|
||||
var userPinService = new UserPinService(stateService, cryptoService);
|
||||
var passwordRepromptService = new MobilePasswordRepromptService(platformUtilsService, cryptoService, stateService);
|
||||
|
||||
ServiceContainer.Register<ISynchronousStorageService>(preferencesStorage);
|
||||
@@ -138,6 +139,7 @@ namespace Bit.iOS.Core.Utilities
|
||||
ServiceContainer.Register<ICryptoService>("cryptoService", cryptoService);
|
||||
ServiceContainer.Register<IPasswordRepromptService>("passwordRepromptService", passwordRepromptService);
|
||||
ServiceContainer.Register<IAvatarImageSourcePool>("avatarImageSourcePool", new AvatarImageSourcePool());
|
||||
ServiceContainer.Register<IUserPinService>(userPinService);
|
||||
}
|
||||
|
||||
public static void RegisterFinallyBeforeBootstrap()
|
||||
|
||||
Reference in New Issue
Block a user