Created
October 6, 2022 11:27
-
-
Save taboulot/2a56c43dd27479c31beb2066a1f803cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// In react-native-image-resizer/ios/ImageResizer.mm | |
// Replace | |
NSURL * fileURL = [[NSURL alloc] initWithString:uri]; | |
// With this | |
NSURL *baseURL = [NSURL fileURLWithPath:@"file://"]; | |
NSURL * fileURL = [[NSURL alloc] initWithString:uri relativeToURL:baseURL]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment