'Getting error 500 when using expo-document-picker
I am using Document Picker (Expo) . Just writing the simple code but it is throwing me error of 500 , i don't understand why it is throwing me this error .
The code library i m using is -> expo install expo-document-picker .
import * as DocumentPicker from 'expo-document-picker';
const _pickDocument = async() =>{
let result = await DocumentPicker.getDocumentAsync({});
alert(result);
console.log(result);
}
<>
<Button title="Select Document" onPress={_pickDocument} />
</>
It is the code which i m using in my project
Error showing in console ->
> 1 | import ExpoDocumentPicker from './ExpoDocumentPicker';
| ^
2 | // @needsAudit
3 | /**
4 | * Display the system UI for choosing a document. By default, the chosen file is copied to [the app's internal cache directory](filesystem.md#filesystemcachedirectory).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
