0

I’m using react-native-background-upload and it works on Android, but it’s not uploading files on iOS when the app is in kill mode.i have tried with their other library for ios but still not working in kill mode Any other solution for ios kill mode ?

5
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented Jul 15 at 3:22
  • You need to provide more information on what your app is doing and how it is doing it. Also, how is your app being terminated? If you terminate it by swiping it away from the app switcher or by terminating the run in Xcode then any background url sessions will be cancelled. Commented Jul 15 at 5:03
  • i need to create post with video but the for video i'm trying to uploading in background so post creates immediately. Commented Jul 15 at 7:09
  • Right, but how was the app killed? Did you stop running it under the debugger? Did you swipe it away from the task switcher or was it just removed by iOS after some time being suspended? Your upload won't complete in the first two cases Commented Jul 17 at 2:57
  • Hi , can you tell me how you integrated react-native-background-upload library Commented Sep 3 at 8:47

1 Answer 1

0

iOS doesn’t allow any background service or task to restart once the user force kills the app (swipes it away from the app switcher). This is a strict system limitation — no third-party library (including react-native-background-upload) can bypass it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.