1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-24 11:55:38 +01:00

add alert for autofill extension

This commit is contained in:
Kyle Spearrin 2018-09-21 21:52:46 -04:00
parent edef84a4f9
commit 045ce42168
3 changed files with 22 additions and 2 deletions

View File

@ -245,8 +245,16 @@ namespace Bit.App.Pages
_settings.AddOrUpdateValue(AddedLoginAlertKey, true); _settings.AddOrUpdateValue(AddedLoginAlertKey, true);
if(Device.RuntimePlatform == Device.iOS) if(Device.RuntimePlatform == Device.iOS)
{ {
DisplayAlert(AppResources.BitwardenAppExtension, AppResources.BitwardenAppExtensionAlert, if(_deviceInfo.Version < 12)
AppResources.Ok); {
DisplayAlert(AppResources.BitwardenAppExtension, AppResources.BitwardenAppExtensionAlert,
AppResources.Ok);
}
else
{
DisplayAlert(AppResources.PasswordAutofill, AppResources.BitwardenAutofillAlert,
AppResources.Ok);
}
} }
else if(Device.RuntimePlatform == Device.Android && !_appInfoService.AutofillAccessibilityServiceEnabled) else if(Device.RuntimePlatform == Device.Android && !_appInfoService.AutofillAccessibilityServiceEnabled)
{ {

View File

@ -582,6 +582,15 @@ namespace Bit.App.Resources {
} }
} }
/// <summary>
/// Looks up a localized string similar to The easiest way to add new logins to your vault is by using the Bitwarden Password AutoFill extension. Learn more about using the Bitwarden Password AutoFill extension by navigating to the &quot;Tools&quot; screen..
/// </summary>
public static string BitwardenAutofillAlert {
get {
return ResourceManager.GetString("BitwardenAutofillAlert", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Access your vault directly from your keyboard to quickly autofill passwords.. /// Looks up a localized string similar to Access your vault directly from your keyboard to quickly autofill passwords..
/// </summary> /// </summary>

View File

@ -1349,4 +1349,7 @@
<data name="PasswordAutofill" xml:space="preserve"> <data name="PasswordAutofill" xml:space="preserve">
<value>Password AutoFill</value> <value>Password AutoFill</value>
</data> </data>
<data name="BitwardenAutofillAlert" xml:space="preserve">
<value>The easiest way to add new logins to your vault is by using the Bitwarden Password AutoFill extension. Learn more about using the Bitwarden Password AutoFill extension by navigating to the "Tools" screen.</value>
</data>
</root> </root>