-
Notifications
You must be signed in to change notification settings - Fork 787
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
how to download files in background for iOS ?? IOSBackgroundTask: true not work for me, any one please help me out ?? #426
Comments
I am done with this https://github.com/Jacse/rn-fetch-blob#ios-background-uploading but still not working, please check if anyone has an idea @joltup Thanks |
Someone knows a library that works on background for ios? |
Hi, while uploading data to server, if application is moved to background and again brining back to foreground RNFetchBlob callbacks are not getting called and showing loading continuously. can anyone help me to fix this issue Thanks |
Hi,
here is my RNFetchBlob code |
@venkataluri thanks it worked really. @mustafakemalelma |
Thanks, |
We are trying to download a video file in ios and got this error when the app went to background, we have used the above code provided by @venkataluri , the download is working fine till 30 sec after that we are getting same issue, can someone help out here... we are stuck with this issue. |
|
It worked for me, but with a little of modifications in my AppDelegate.mm (note that for me it is not AppDelegate.m)
When tried to build with npx react-native run-ios --simulator="iPhone 15 Pro" command, with the previous solution it was not able to compile, so had to modify it the above way to work! |
=> sometime, download file error still happend. Message error "The network connection was lost" when app running in background. |
Have you found a solution? |
Hi ! Thank you for reporting an issue, but we would like to remind you, we have a trouble shooting page in our wiki.
You may want to take a look on that page or find issues tagged "trouble shooting" :p
The text was updated successfully, but these errors were encountered: