Fix for files that are stored in the Documents folder on iOS (and not as resources in the JS app)
This commit is contained in:
		| @@ -358,7 +358,7 @@ static int const RCTVideoUnset = -1; | |||||||
| } | } | ||||||
|  |  | ||||||
| - (NSURL*) urlFilePath:(NSString*) filepath { | - (NSURL*) urlFilePath:(NSString*) filepath { | ||||||
|   if ([filepath containsString:@"file://"]) { |   if ([filepath containsString:@"file://"] && ![filepath containsString:@"/Documents/"]) { | ||||||
|     return [NSURL URLWithString:filepath]; |     return [NSURL URLWithString:filepath]; | ||||||
|   } |   } | ||||||
|    |    | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user