Back out D2098670: Allow uploading a native file (e.g. photo) via XMLHttpRequest

This commit is contained in:
Philipp von Weitershausen
2015-05-26 13:29:41 -07:00
parent cfa4b13472
commit 3269af227f
5 changed files with 10 additions and 55 deletions

View File

@@ -154,11 +154,4 @@ static void RCTDispatchCallbackOnMainQueue(void (^callback)(NSError *, id), NSEr
}
}
+ (BOOL)isSystemImageURI:(NSString *)uri
{
return uri != nil && (
[uri hasPrefix:@"assets-library"] ||
[uri hasPrefix:@"ph://"]);
}
@end