Using external storage from Firebase library #5975
-
Hi! So, the question is: why Firebase needs to use the External Storage of the phone? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
This is a convenience method, that has existed forever and it would be a breaking change for us to remove it. 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 |
Beta Was this translation helpful? Give feedback.
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