-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix public directory #90
Conversation
…agePublicDirectory
…agePublicDirectory
This fixed my download problem, thanks! |
You'll break the fix made in this commit: ae998b2 Besides you would break Android > API 29 with this fix. So not going to merge it. Please fix it in a way that won't lead to additional problems / crashes. |
Hello @RonRadtke. It seems that there is no need to check for null, because unlike I am not sure if My related issue: #89 |
How about implementing an option like "legacypath" and this one will return the "old" version via |
Does this PR allow us to download a PDF inside the common (public) |
Not in android >= 10 |
I created a branch with changes to expose the old paths: https://github.com/RonRadtke/react-native-blob-util/tree/feature/legacypaths @oneHamidreza @halaei what's your opinion about this way? Doable for you or any better suggestions? |
Changed DCIMDir, PictureDir, MusicDir, DownloadDir, MovieDir, RingtoneDir, SDCardDir to
Environment.getExternalStoragePublicDirectory
path.