From 1f91043f1b4635f905c19c3573f6e0dae73c49e7 Mon Sep 17 00:00:00 2001 From: alvby Date: Thu, 2 Nov 2017 16:08:01 +0700 Subject: [PATCH] Remove stopping provider finder if find one --- ios/ReactNativeShareExtension.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/ios/ReactNativeShareExtension.m b/ios/ReactNativeShareExtension.m index 53246ca2..aa9a055a 100644 --- a/ios/ReactNativeShareExtension.m +++ b/ios/ReactNativeShareExtension.m @@ -72,13 +72,10 @@ - (void)extractDataFromContext:(NSExtensionContext *)context withCallback:(void( [attachments enumerateObjectsUsingBlock:^(NSItemProvider *provider, NSUInteger idx, BOOL *stop) { if([provider hasItemConformingToTypeIdentifier:URL_IDENTIFIER]) { urlProvider = provider; - *stop = YES; } else if ([provider hasItemConformingToTypeIdentifier:TEXT_IDENTIFIER]){ textProvider = provider; - *stop = YES; } else if ([provider hasItemConformingToTypeIdentifier:IMAGE_IDENTIFIER]){ imageProvider = provider; - *stop = YES; } }];