How to display Progress of Downloading in status bar


#1

I am downloading a file and storing this in camera roll but i need to display downloading progress in status bar any API of expo can help on this?
FileSystem.downloadAsync(
https://s3.amazonaws.com/dancebook-development/mov.mp4’,
FileSystem.documentDirectory + ‘mov.mp4’
)
.then (({ uri }) => {
console.log('Finished downloading to ', uri);
const asset = MediaLibrary.createAssetAsync(uri);
console.log(‘asset created’)
})
.catch(error => {
console.error(error);
});


closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.