react-native-image-resizer
react-native-image-resizer copied to clipboard
Updated the `generateFilePath()`
Updated the generateFilePath() method to accept paths on cache directory. It also generate new files on documents directory, to be consistent with the rest of the method behavior.
Discussion: #90
Is this a breaking change?
The only change that could be (maybe) considered breaking is the default directory used to store files. With this PR it changes from Cache directory to Document directory.
Not generated valid path,when output path is not given in iOS,throwing error. Errors :- "line":200865,"column":48,"sourceURL":"/var/containers/Bundle/Application/D5C95D75-3BF0-40A3-BACB-A65854BF63DF/xxxxxxxx.app/main.jsbundle"
@Biplovkumar I can't reproduce that error. I actually changed the default path to be in the Documents directory, instead of Cache directory. But this didn't lead to any error on my code, nor on the example app from this repo, that I just tried. Could you provide more info?
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This pull request has been automatically closed. Thank you for your contributions.