-
Notifications
You must be signed in to change notification settings - Fork 786
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
Android: Deprecation warnings about SDCardDir and SDCardApplicationDir #54
Comments
@ataillefer are you sure it's from
Do you run this code in some app? |
Hi, Pretty sure yes.
Note that it states
(this is because the package.json of react-native-fetch-blob's 0.10.9 branch is versioned with 0.10.8.) And the only place where we call To reproduce, you only need to checkout the 0.10.9 branch and run some similar code. In fact, I've realized that you don't even need to specify any parameter to the
|
It's ok, just wanted to see if Thanks for response @ataillefer |
You're right, this getters are called when dirs object is instantiated just be importing fs.js file. |
Simple is to put depracation info to release notes. |
This issue should be resolved by #77 |
Branch: 0.10.9
Just calling the following code:
generates the following warnings in the Android logs:
These warnings have been added by 22fd32a but apparently there are still some occurrences of
SDCardDir
andSDCardApplicationDir
in the code of the 0.10.9 branch.I'm aware that the 0.10.9 branch isn't stable yet but it is intended to be released with a bunch of bug fixes so I believe that these warnings should be fixed before the release.
Thanks
The text was updated successfully, but these errors were encountered: