Closed Babar-Inaequo closed 5 months ago
Open folder android in Android studio
go to File -> Project Structure
in Dependencies, find module react-native-document-picker, and edit react-native:+ to react-native:0.66.3
I also got the same issue in android, when select the attachment then app crashed.
E FATAL EXCEPTION: mqt_nativemodules Process: com.appname, PID: 15724 com.facebook.react.common.JavascriptException: RangeError: Failed to construct 'Response': The status provided (0) is outside the range [200, 599]., stack: @110:6945
:wave: @Babar-Inaequo, sorry you're having an issue. This issue is being closed because it does not provide all information required by the issue template. As the issue template explains, we require that you provide a runnable example that reproduces your issue and your environment information. This means you need to provide a code snippet that we can copy-paste into an empty project and see the error ourselves, or provide a git repository with the issue. The reason is that maintainers do not have time to try reproduce bugs themselves. Please try to minimize the superfluous code and focus only on reproducing the bug. Please create a new issue with this and we'll be happy to review it!
Getting this error after file selection.
java.lang.NoSuchMethodError: No virtual method getExceptionHandler()Lcom/facebook/react/bridge/JSExceptionHandler; in class Lcom/facebook/react/bridge/ReactContext; or its super classes (declaration of 'com.facebook.react.bridge.ReactContext'
react-native: "0.66.3" react-native-document-picker: "8.1.3"
Versions are mention above for react native and react native document picker.
Thanks