Code Monkey home page Code Monkey logo

Comments (8)

RonRadtke avatar RonRadtke commented on July 20, 2024 2

@arunim2405 Glad to hear that! Thank you.

from react-native-blob-util.

cristianoccazinsp avatar cristianoccazinsp commented on July 20, 2024 1

I was targetting SDK 30 and no issues so far with WRITE_EXTERNAL_STORAGE. However, after upgrading rn-fetch-blob 0.12.0 to this (0.13.6), trying to request WRITE_EXTERNAL_STORAGE always returns "never ask again".

How does this library interfere with file permissions?

from react-native-blob-util.

RonRadtke avatar RonRadtke commented on July 20, 2024

The current version is working well on Android 11. Tested it on my own Android 11 device. But I'm storing the files in the apps own directory and due to that it's not a problem for me.

In Android 10 and above you don't need the WRITE_EXTERNAL_STORAGE anymore due to the scoped storage. But you're write. The permissons are not exactly ocrrect. The android:maxSDKVersion has to be a 29, so it still works for Android 10.
Starting from Android 11 we would need the MANAGE_EXTERNAL_STORAGE permisson.
For additional information see here: https://developer.android.com/training/data-storage#permissions

from react-native-blob-util.

arunim2405 avatar arunim2405 commented on July 20, 2024

@cristianoccazinsp facing the same weird issue, were you able to fix it?

from react-native-blob-util.

cristianoccazinsp avatar cristianoccazinsp commented on July 20, 2024

Not really, I still see the crash from time to time, but doesn't seem to happen as often as to worry.

from react-native-blob-util.

glaeser-adesso avatar glaeser-adesso commented on July 20, 2024

I'm also facing the same issue, forbidding me from using this library instead of the original rn-fetch-blob.
As soon as I add the plugin (Version 0.13.2), WRITE_EXTERNAL_STORAGE is permanently denied (no other modifications to the project). This causes issues for other plugins relying on it.

Using Target SDK Level 29, testing on Device with Android 11. Is there any workaround, other than staying on the unmaintained plugin?

from react-native-blob-util.

RonRadtke avatar RonRadtke commented on July 20, 2024

I published 0.13.8 right now.
This removes the max version in the manifest. I hope that this was causing the problems.
Could you please test if that helps for your cases? I can't reproduce it on my devices / with my app.

from react-native-blob-util.

arunim2405 avatar arunim2405 commented on July 20, 2024

@RonRadtke I can confirm WRITE_EXTERNAL_STORAGE is NOT permanently denied anymore after the update. That bug is fixed

from react-native-blob-util.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.