From 8cb3fc1aaecf1de42afe45b2b8803f9664f62ae9 Mon Sep 17 00:00:00 2001 From: Rad Azzouz Date: Thu, 31 Jul 2014 17:07:12 -0400 Subject: [PATCH] Fixed problem where the typeIdentifier was always kUTTypeAppExtensionFillWebViewAction. --- OnePasswordExtension.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OnePasswordExtension.m b/OnePasswordExtension.m index 332964c..734c0f1 100644 --- a/OnePasswordExtension.m +++ b/OnePasswordExtension.m @@ -206,7 +206,7 @@ - (void)fillLoginIntoWebView:(id)webView forViewController:(UIViewController *)v #pragma mark - Helpers - (UIActivityViewController *)activityViewControllerForItem:(NSDictionary *)item typeIdentifier:(NSString *)typeIdentifier { - NSItemProvider *itemProvider = [[NSItemProvider alloc] initWithItem:item typeIdentifier:kUTTypeAppExtensionFillWebViewAction]; + NSItemProvider *itemProvider = [[NSItemProvider alloc] initWithItem:item typeIdentifier:typeIdentifier]; NSExtensionItem *extensionItem = [[NSExtensionItem alloc] init]; extensionItem.attachments = @[ itemProvider ];