-
Notifications
You must be signed in to change notification settings - Fork 985
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
Manually flush & invalidate session upon completion #938
Conversation
Any updates on this? We'd love it to be delivered as we're facing the same issue now. |
I wouldn't count on it, the last update on the repo was march 2020, meanwhile we're all running the latest version which was released oct 2019. I submitted this PR last year and haven't heard anything, not even a request for changes. |
how did you solve it at the end? |
The code I wrote was a fix we used in our applicaiton. Hence why I submitted a PR. |
Thanks for your commitment @joshuaellis ! Let us try this one too. |
@joshuaellis @n-sviridenko I have tried compiling it but XCode 12.3 complains: |
Fixed this in #972 |
@itinance we need you 🦸♂️ |
Thank you very much guys. I'm going to close this in favour of #972. Many thanks anyways! |
(and sorry for being late here, this year was going to start very crazy) |
Hey guys, any help??? I use react-native-fs(2.20.0) and I'm still facing this issue when I download images and videos even though I have gb's of space left in my device I get "The operation couldn’t be completed. No space left on device". iPhone Version : iPhone 12 Mini Code:
|
Our application downloads ~1000 items from an API ranging from sizes of 2mb - 100mb, while doing so on iOS14 the device regularly returned
error 28 - no space left on device
We raised an issue (#937) and while investigating a fix we discovered that this error doesn't always mean the literal – https://github.com/AFNetworking/AFNetworking/issues/4313#issuecomment-437216801
Since the library creates a new instance of Downloader per file download we've come to a conclusion that iOS14 doesn't flush the URLSessions quick enough when they're complete so we've added this manually.