Skip to content

Commit

Permalink
Add AutoFill CredentialProvider NSExtensionPoint support (#75) (#76)
Browse files Browse the repository at this point in the history
* Add credential provider to ExtensionPoint enumeration

* Add min version check rule for credential provider ExtensionPoint

* Add trailing comma to make the next entry's diff smaller

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

Co-authored-by: kiddailey <kiddailey@users.noreply.github.com>
  • Loading branch information
rolfbjarne and kiddailey committed Jul 14, 2020
1 parent a1bc6f3 commit 8208733
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Xamarin.MacDev/ManifestExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,8 @@ public static string GetNSExtensionPointIdentifier (this PDictionary dict)
return IOSExtensionPoint.SharedLinks;
case "com.apple.spotlight.index":
return IOSExtensionPoint.SpotlightIndex;
case "com.apple.authentication-services-credential-provider-ui":
return IOSExtensionPoint.AuthenticationServicesCredentialProviderUI;
}

return IOSExtensionPoint.Unknown;
Expand Down Expand Up @@ -885,6 +887,8 @@ public enum IOSExtensionPoint
//com.apple.Safari.sharedlinks-service
SharedLinks,
//com.apple.spotlight.index
SpotlightIndex
SpotlightIndex,
// com.apple.authentication-services-credential-provider-ui
AuthenticationServicesCredentialProviderUI,
}
}
1 change: 1 addition & 0 deletions Xamarin.MacDev/MonoTouchSdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ static PDictionary CreateMinExtensionVersions ()
ios.Add ("com.apple.message-payload-provider", new PString ("10.0"));
ios.Add ("com.apple.usernotifications.content-extension", new PString ("10.0"));
ios.Add ("com.apple.usernotifications.service", new PString ("10.0"));
ios.Add ("com.apple.authentication-services-credential-provider-ui", new PString ("12.0"));

tvos.Add ("com.apple.broadcast-services", new PString ("10.0"));
tvos.Add ("com.apple.tv-services", new PString ("9.0"));
Expand Down

0 comments on commit 8208733

Please sign in to comment.