Skip to content

Using external storage from Firebase library #5975

Answered by mikehardy
sebadiaz-arg asked this question in Q&A
Discussion options

You must be logged in to vote

This is a convenience method, that has existed forever and it would be a breaking change for us to remove it.
All it does is get the path, and it's perfectly fine if the directory does not exist or the app has no permission for it.
Unless you access the path, and use it somehow, you are still not using external storage, as getting a path from the system using a public API does not equate to use of the path

In the v12 release I specifically removed permission from the library in order to allow consumers to manage their use of external storage directly https://github.com/invertase/react-native-firebase/blob/main/CHANGELOG.md#1200-2021-05-19

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@nahugonza11
Comment options

@mikehardy
Comment options

@Agorus
Comment options

@sebadiaz-arg
Comment options

@mikehardy
Comment options

Answer selected by andersonaddo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants