What is the best way to store and download up to 5000 mp3 files for a react native app? - react-native

I am creating a type of flashcard application using react-native. The flashcard decks can contain up to 5000 mp3 files. I want the user to be able to download an entire deck when they first use it.
Currently, I am downloading each file individually using Google cloud public storage but this is brutally slow and some downloads timeout. Is there a place where I can download an entire folder of mp3 files instead of downloading each of them individually? I have seen that you can do it using AWS S3 but I have no idea how to do this from the client in react native. Thanks.

Related

Expo/React Native PDF library with search functionality

i’m currently creating an application which also syncs files from a file server to ensure an offline functionality to display files when theres no network connection.
This works quite well with the react-native-webview.
The requirement now is to enable a search functionality for PDF and Excel files, at least PDF.
Is there any pdf library that implements a search for expo go / dev client?
It doesn’t have to be free of charge - all i can find is react-native libraries that probably won’t work with expo.
thanks in advance!
BR

Expo / React Native storage limitations

I'm looking at file storage options using Expo and it seems that Async Storage is the only supported option. However it is documented that there is a 6MB limit on Android for this. I'm curious, how do native apps like Netflix/Spotify (for example) utilise hundreds of MB's of storage space? Is this not possible with Expo / React Native? I need to store around 50mb of JSON data.
look at this
Expo File System
(saving files in this way is not so secure and maybe can be read by user. but you can save large files with it)

Is there any way to upload large files to Firebase Storage using Expo React Native

I have been trying to upload large files to Firebase Storage using expo, so far nothing is working. I am using fetch to create blob to upload files but this is not working for large files over 800 MB size. I also couldn't find any stream upload method for expo. Is there any optimised way I could upload large files to Firebase Storage?

React Native Fetch Blob File Empty

We are having a problem with React Native Fetch Blob when a PDF is over 1mb in size. The file is being uploaded to Azure Blob Storage and works fine when the PDF is less than 1MB but as soon as the file is over 1MB the upload fails and the file in the container is empty.
We are using the module in an IOS React App but we also have a web app. When we upload the PDF via the web app everything is fine so it seems that this is something specific to the mobile app.
Further testing shows that if we upload a PNG over 1MB it works, so this issue seems to be specific to PDFs.
Any suggestions on how we can diagnose or solve this issue?

UWP OneDrive FilePicker synchronization issue

I have a problem with the native FilePicker in UWP.
I wish to download a file from OneDrive which contains data. After I´ve modified the data on my phone I wish to sync the extern file on OneDrive.
The concept is very easy. I have a SQLite database as local data storage. When I export data, the database will be serialized into a XML file which I want to store somewhere else.
The idea was to sync the file with OneDrive. I saw this concept in many Apps before.
So I´ve tried to download the file with the native FilePicker. I can get all data, no problem. But if I would modify data, the changes would not apply to OneDrive...
Some references:
C# UWP LiveSKD and OneDrive access using FileOpenPicker
https://dev.onedrive.com/sdks.htm
Add OneDrive to your app in minutes with a few lines of code. File picker SDKs allow you to quickly download or link to files already in OneDrive, or save files into OneDrive without writing much code. Quickly integrate your app with OneDrive today!
How can I solve this problem ?