how to make uploads in background ?

as question suggests, how do we add background refresh or upload media in background ?

i have seen this library: react-native-background-upload - npm, but it seems it doesn’t work with expo managed workflow. can someone address this issue and let us know how to fix it ?