wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.6k stars 557 forks source link

Android crash #820

Open MuratSelcukoglu opened 8 months ago

MuratSelcukoglu commented 8 months ago

What react-native version are you using? "react-native": "0.73.4", What react-native-pdf version are you using? "react-native-pdf": "^6.7.4", What platform does your issue occur on? (android/ios/both) android Describe your issue as precisely as possible : 1) Steps to reproduce the issue or to explain in which case you get the issue 2) Interesting logs After loading the pdf on Android, it starts to scroll, then when it reaches the middle of the fast or slow pdf, it crashes after slowing down. There is no problem with my wall with the page number, but when I start scrolling it freezes before I get to the middle and then it crashes. Join a screenshot or video of the problem on the simulator or device? I can't catch any errors. I only see memory related errors in Android studio logcat exmaple 1.java.lang.UnsupportedOperationException: Tried to obtain display from a Context not associated with one. Only visual Contexts (such as Activity or one created with Context#createWindowContext) or ones created with Context#createDisplayContext are associated with displays. Other types of Contexts are typically related to background entities and may return an arbitrary display. 2.Uncaught remote exception! (Exceptions are not yet supported across processes.)java.lang.RuntimeException:

Lok1n8 commented 5 months ago

any progress?