react-native-background-upload icon indicating copy to clipboard operation
react-native-background-upload copied to clipboard

Lost connection when app is minimized in iOS

Open Sivakumar415 opened this issue 3 years ago • 5 comments

While minimizing the application the background progress its getting cancelled with the below error

Lost connection to background transfer service

Kindly advise .

Sivakumar415 avatar Nov 29 '21 10:11 Sivakumar415

Same here!

AliRehman7141 avatar Dec 02 '21 07:12 AliRehman7141

Did anybody solve this?

sadia-onyxtec avatar Dec 03 '21 04:12 sadia-onyxtec

I'm using two packages, for android this package is stable, and for ios using "react-native-background-upload": "github:cristianoccazinsp/react-native-background-upload" package that has no android SKD. So, you should have to manage your packages.json

AliRehman7141 avatar Dec 16 '21 17:12 AliRehman7141

@AliRehman7141 Could you explain better how you are using a package for each platform?

FeoSilva avatar Dec 20 '21 23:12 FeoSilva

@FeoSilva put "react-native-background-upload": "^6.5.0" line in your package json and do install node_modules after that you can build android apk for ios replace existing line with "react-native-background-upload": "github:cristianoccazinsp/react-native-background-upload" again do install node_modules and pods now this will work for ios

Screenshot 2021-12-21 at 11 19 37 PM

AliRehman7141 avatar Dec 21 '21 18:12 AliRehman7141