How to download files in react-native-macOS? #12131
sufian1999
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My main issue is that I live an app and in that app, I am downloading files via react-native-blob-util. When users download files, they save them in iPhone's Files > (Create a folder of app name and save files in it). But on MacBook M1 chip when I run my app and download files. It shows that files are downloading but they don't save in MacBook. How to solve it?
So, in order to solve this issue. I created a new project and installed react-native-macOS. The project starts perfectly fine. Actually, I want to download files from an API and save them in my MacBook's downloads folder. I installed the Axios library but I think it doesn't support macOS and it gives me an error in Codegen (butter/map.h file not found). I removed Axios from my project but still this issue exists. So, tell me how can I download files in macOS.
Beta Was this translation helpful? Give feedback.
All reactions