From cefcc14d4d6ae123eed11fa4e645a7d7b8dc97c4 Mon Sep 17 00:00:00 2001 From: kspearrin Date: Wed, 19 Sep 2018 23:08:39 -0400 Subject: [PATCH] update autofill files --- .../CredentialProviderViewController.cs | 39 ++ ...edentialProviderViewController.designer.cs | 18 + src/iOS.Autofill/Entitlements.plist | 2 + src/iOS.Autofill/Info.plist | 5 +- src/iOS.Autofill/MainInterface.storyboard | 418 +++++++++--------- src/iOS.Autofill/iOS.Autofill.csproj | 22 +- .../LoadingViewController.designer.cs | 40 +- 7 files changed, 300 insertions(+), 244 deletions(-) create mode 100644 src/iOS.Autofill/CredentialProviderViewController.cs create mode 100644 src/iOS.Autofill/CredentialProviderViewController.designer.cs diff --git a/src/iOS.Autofill/CredentialProviderViewController.cs b/src/iOS.Autofill/CredentialProviderViewController.cs new file mode 100644 index 000000000..4c39e930e --- /dev/null +++ b/src/iOS.Autofill/CredentialProviderViewController.cs @@ -0,0 +1,39 @@ +using AuthenticationServices; +using Foundation; +using System; +using UIKit; + +namespace Bit.iOS.Autofill +{ + public partial class CredentialProviderViewController : ASCredentialProviderViewController + { + public CredentialProviderViewController (IntPtr handle) : base (handle) + { + } + + public override void ViewDidLoad() + { + base.ViewDidLoad(); + } + + public override void PrepareCredentialList(ASCredentialServiceIdentifier[] serviceIdentifiers) + { + base.PrepareCredentialList(serviceIdentifiers); + } + + public override void ProvideCredentialWithoutUserInteraction(ASPasswordCredentialIdentity credentialIdentity) + { + base.ProvideCredentialWithoutUserInteraction(credentialIdentity); + } + + public override void PrepareInterfaceToProvideCredential(ASPasswordCredentialIdentity credentialIdentity) + { + base.PrepareInterfaceToProvideCredential(credentialIdentity); + } + + public override void PrepareInterfaceForExtensionConfiguration() + { + base.PrepareInterfaceForExtensionConfiguration(); + } + } +} \ No newline at end of file diff --git a/src/iOS.Autofill/CredentialProviderViewController.designer.cs b/src/iOS.Autofill/CredentialProviderViewController.designer.cs new file mode 100644 index 000000000..8da460501 --- /dev/null +++ b/src/iOS.Autofill/CredentialProviderViewController.designer.cs @@ -0,0 +1,18 @@ +// WARNING +// +// This file has been generated automatically by Visual Studio from the outlets and +// actions declared in your storyboard file. +// Manual changes to this file will not be maintained. +// +using Foundation; +using System; +using System.CodeDom.Compiler; +using UIKit; + +namespace Bit.iOS.Autofill +{ + [Register ("CredentialProviderViewController")] + partial class CredentialProviderViewController + { + } +} \ No newline at end of file diff --git a/src/iOS.Autofill/Entitlements.plist b/src/iOS.Autofill/Entitlements.plist index b20900dcc..ef9236c02 100644 --- a/src/iOS.Autofill/Entitlements.plist +++ b/src/iOS.Autofill/Entitlements.plist @@ -2,6 +2,8 @@ + com.apple.developer.authentication-services.autofill-credential-provider + com.apple.security.application-groups group.com.8bit.bitwarden diff --git a/src/iOS.Autofill/Info.plist b/src/iOS.Autofill/Info.plist index f45126ecb..26f9ddaa9 100644 --- a/src/iOS.Autofill/Info.plist +++ b/src/iOS.Autofill/Info.plist @@ -18,13 +18,10 @@ 37 NSExtension - NSExtensionAttributes - - NSExtensionMainStoryboard MainInterface NSExtensionPointIdentifier - com.apple.ui-services + com.apple.authentication-services-credential-provider-ui UIDeviceFamily diff --git a/src/iOS.Autofill/MainInterface.storyboard b/src/iOS.Autofill/MainInterface.storyboard index f107fe8ef..577e70fde 100644 --- a/src/iOS.Autofill/MainInterface.storyboard +++ b/src/iOS.Autofill/MainInterface.storyboard @@ -1,39 +1,39 @@ - - + + - + + - - + - + - + - - + + - + - - + + - - - - - + + + + + @@ -44,8 +44,8 @@ - + - + + - + - + - - + + - - - + + + - + + + - - - - - + + + - - + + - - + + + - + - + - + - - + + - + - - - - - - - - - - + + + - - + + + + + + + + + + - + + - - + + - + - @@ -222,96 +226,99 @@ + - + - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + + + - + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + + - - - + + - + @@ -322,115 +329,117 @@ + - + - + - - - + - - - - - - + + + + + + - + - + + - + - + - - + - - - - - - - - - - + + + + + + + + + + - + @@ -438,27 +447,28 @@ - - + + + - + + - - + + - + - @@ -468,39 +478,41 @@ + - + + - - + + - + - - + + - + - + - + - + @@ -513,55 +525,56 @@ - + + - + - + - - + - - - - - - - - + + + + + + + + @@ -583,22 +596,23 @@ + - - + + + + - + - - - + @@ -607,9 +621,7 @@ - - - + \ No newline at end of file diff --git a/src/iOS.Autofill/iOS.Autofill.csproj b/src/iOS.Autofill/iOS.Autofill.csproj index 900a73b69..b410d235c 100644 --- a/src/iOS.Autofill/iOS.Autofill.csproj +++ b/src/iOS.Autofill/iOS.Autofill.csproj @@ -26,13 +26,11 @@ None True Entitlements.plist - 9.3 + 12.0 False False False False - False - False True False False @@ -57,8 +55,6 @@ False False False - False - False True Default NSUrlSessionHandler @@ -88,8 +84,6 @@ False False False - False - False True False False @@ -116,8 +110,6 @@ False False False - False - False True False NSUrlSessionHandler @@ -142,8 +134,6 @@ False False False - False - False True False NSUrlSessionHandler @@ -167,8 +157,6 @@ False False False - False - False True False --http-message-handler=NSUrlSessionHandler --linkskip=BitwardeniOS --linkskip=BitwardeniOSCore --linkskip=BitwardeniOSAutofill --linkskip=BitwardenApp --linkskip=SQLite-net @@ -186,8 +174,6 @@ False False False - False - False True Default NSUrlSessionHandler @@ -206,8 +192,6 @@ False False False - False - False True Default NSUrlSessionHandler @@ -226,6 +210,10 @@ + + + CredentialProviderViewController.cs + diff --git a/src/iOS.Extension/LoadingViewController.designer.cs b/src/iOS.Extension/LoadingViewController.designer.cs index 0cd9c2cd2..5d55235f4 100644 --- a/src/iOS.Extension/LoadingViewController.designer.cs +++ b/src/iOS.Extension/LoadingViewController.designer.cs @@ -1,21 +1,21 @@ -// WARNING -// -// This file has been generated automatically by Xamarin Studio from the outlets and -// actions declared in your storyboard file. -// Manual changes to this file will not be maintained. -// -using Foundation; -using System; -using System.CodeDom.Compiler; -using UIKit; - -namespace Bit.iOS.Extension -{ - [Register ("LoadingViewController")] - partial class LoadingViewController - { - void ReleaseDesignerOutlets () - { - } - } +// WARNING +// +// This file has been generated automatically by Visual Studio from the outlets and +// actions declared in your storyboard file. +// Manual changes to this file will not be maintained. +// +using Foundation; +using System; +using System.CodeDom.Compiler; +using UIKit; + +namespace Bit.iOS.Extension +{ + [Register ("LoadingViewController")] + partial class LoadingViewController + { + void ReleaseDesignerOutlets () + { + } + } } \ No newline at end of file