react-native-document-picker is not working on Android
See original GitHub issuePerformed all linking as per the READ ME
Added an entry in build.gradle
dependencies {
implementation project(':react-native-document-picker')
}
And also on Settings.gradle
include ':react-native-document-picker'
project(':react-native-document-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-document-picker/android')
Also provided permissions for
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>Works properly on iOS but fails on Android. Any help is really appreciated.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Document picker is not working in react native - Stack Overflow
I am currently facing issue with react native document picker in my react native app . I attached screenshot for your referenced.
Read more >react-native-document-picker not working. What's wrong - Reddit
So I am trying to learn selecting and uploading a file with React Native on the Android Emulator using Expo.
Read more >Multiple types doesn't work on android #513 - GitHub
I have the same problem. With the following code, I can select any file type. const pickerResult = await DocumentPicker.pickMultiple({ type: [ ...
Read more >react-native-document-picker - npm
A react native interface to access documents from dropbox, google drive, iCloud.... Latest version: 8.1.3, last published: 18 days ago.
Read more >Picking files in React Native apps using ... - LogRocket Blog
Learn how to pick documents and files of any format from a user's device in a React Native application for iOS and Android....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed the issue , had forgot to add entry
new ReactNativeDocumentPicker()
in MainApplication get Packages()It works now…
Any help on Android please ?