How to get the download size on React Native using the offlineContentManager?

Hello,
We have tested downloading a video on a device with full storage. The previous downloads were overwritten. How can we get the download size to let the user know if the free storage is enough for the download ?
Thank you

Hi @youcef.ben!

Could you clarify on which platform did this happen?

At the same time it is worth to note there is no way to tell the download’s potential size upfront with our Player SDK before the download has finished. This would be dependent on what quality and which tracks get eventually downloaded. This should be handled by the application and possibly your backend would provide such estimate.