How do I get the file path in React Native?

The most convenient way : Use react-native-document-picker, on selection it will give you a Relative path, something like this content://com.android…… . Pass that Relative path to Stat(filepath) function of the react-native-fetch-blob library. The object will return absolute path.

Sizin İçin Seçtik  How do I download files from iOS react native?

Leave a Reply

Your email address will not be published. Required fields are marked *