Open VishnuNCS opened 4 months ago
Same error and only when running test suite, document picker works as expected in both android and iOS otherwise.
@VishnuNCS I followed this comment which resolved my tests https://github.com/rnmods/react-native-document-picker/issues/677#issuecomment-1730483250
same issue, when I just start the app
I got the same issue by linking the library and restart the metro with reset cache solve the issue
npx react-native-asset react-native-document-picker
module.Exports = { project: {ios: {},android: {},},assets: ['./src/assets/fonts/'], // path of your assert file};
then try the first one againnpm start -- --reset-cache
that's it :)
Bug report
Summary
When I run the app in android after upgrading to v9.1.1 and selected a document and sending to m backend. All seems works fine. But when I actually execute my test suite it throws error as below
Reproducible sample code
I have just used a snapshot for test case
Steps to reproduce
If you created a test case with v9.1.1 you should be able to reproduce this. Previously I was
v8.1.3
didn't face any issuesDescribe what you expected to happen:
Environment info
npx react-native info
output:library version: 9.1.1
iOS / Android version: 17.2/13