i am using react-native-document-picker for my ios app, i am unable to pick files from local data as it only giving options from iCloud.
Anyone knows how to access local files in ios?
Related
I am building and mobile app for android using react native, I have json array object and I want to download this data as CSV file on button clicked, I have checked many of existing packages but all for web applications not mobile applications. is there anyway or trick to do that or is there and new packages i am missing. help me please
It looks like react-native-fs (https://www.npmjs.com/package/react-native-fs) supports IOS and Android Devices. This allows you to create Files on the Device, and write any File content.
I am pretty new to react-native (app development as such).
I want to download and save a pdf file in user's device in react-native? react-native-fs and rn-fetch-blob showed up as popular options.
I am using redux-saga in my project and axios to fetch json data.
I am able to get a blob object of the pdf file using axios.
So, how can i achieve this downloading and saving the file in the device? Can i use axios plus some library to get the file from blob object or should i be using either react-native-fs or rn-fetch-blob?
Any suggestions would help!
looking for react-native libraries or development approaches to archive the following:
My Use case
In my react-native app I want to sync pictures ( taken by users ) and other files like the user database "realm.db ( from realmjs )" with the user iCloud drive.
Question
Do I need to upload all the files with cloudkitjs to the web or is it possible to just place the files into a specific app directory and every time the user update the iphone device the -> app it will be automatically synced?
What I already tried
activating iCloud support in my app
created iCloud container
Requirements
everything should be synced within the user/customer iCloud drive
don't want to take care about GDPR guidelines
only an iOS app exisits... no need to sync data between MacOS and iOS
My Stack
react-native 0.60
typescript
Many thanks for any help which put me into the right direction.
I have a PDF stored in my assets folder in my react native projects. I would like to give the user the ability to download this PDF to their device. I currently have it displaying on screen, but I can't figure out how to download the asset to the users device. I've seen plenty of examples of how to download items using a URL but nothing for local assets. The application is being build out in React Native for both iOS and Android.
Currently I am using File picker plugin(https://github.com/Studyxnet/FilePicker-Plugin-for-Xamarin-and-Windows) to browse and attach files in my application.
Its an cross platform plugin to upload documents.
but in this plugin when we want to upload documents in IOS we can upload documents using ICloud only. I want to upload documents without Icloud as we are doing in android.
Can anyone help me to upload documents in Xamarin forms IOS without using ICloud?
There is no way to browse files like android in iOS