Vydia / react-native-background-upload

Upload files in your React Native app even while it's backgrounded. Supports Android and iOS, including camera roll assets.
MIT License
726 stars 332 forks source link

i want to upload 40k images in background #178

Open vaibhgupta09 opened 4 years ago

vaibhgupta09 commented 4 years ago

the problem is when i upload image up to 40k image from my iphone the process upload is stop after 75 image why it is so

reime005 commented 4 years ago

40000 single images? can you share some code?

scarlac commented 4 years ago

@vaibhgupta09 I am currently working on a project to upload multiple smaller images (while screen is locked). iOS will pause your app after 30 seconds. Even with background uploads.

However, it will resume your app whenever it feels like it. It will wait until something else happens on the phone, like the user checks for notifications, then it will wake up your app and resume the uploads. It happens to save battery.

@reime005 I think this is just an educational issue. Can probably be closed.