Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native-pdf sometimes crashes the app #2923

Closed
steffenkleinle opened this issue Sep 12, 2024 · 4 comments
Closed

react-native-pdf sometimes crashes the app #2923

steffenkleinle opened this issue Sep 12, 2024 · 4 comments
Assignees
Labels
Bug Something isn't working Native Affects the native project reproduction-needed Cannot be reproduced

Comments

@steffenkleinle
Copy link
Member

steffenkleinle commented Sep 12, 2024

Describe the Bug

We get sentry reports about the app crashing becaues of react-native-pdf sometimes.

Sentry Issue: INTEGREAT-APP-6Z8

wonday/react-native-pdf#796 seems to be the same issue with potential fixes/reproductions.
wonday/react-native-pdf#852 might provide a solution, too.

Steps to Reproduce

Reproduction needed.

Expected Behavior

The app not to crash.

Actual Behavior

The app crashes.

Additional Information

None.

@steffenkleinle steffenkleinle added Bug Something isn't working Native Affects the native project reproduction-needed Cannot be reproduced labels Sep 12, 2024
@bahaaTuffaha
Copy link
Contributor

2024-09-16.14-54-04.mp4

Reproduced by: Pressing back quickly before content is loaded

@steffenkleinle
Copy link
Member Author

steffenkleinle commented Oct 25, 2024

@bahaaTuffaha can you confirm that this is fixed with the latest react-native-pdf version (v6.7.5)? There still seems to be another issue that is sometimes appearing if multiple times closing pdfs really fast multiple times (see wonday/react-native-pdf#830), but this should be okay as users should not be doing that. I would therefore close this issue.

@steffenkleinle steffenkleinle self-assigned this Oct 25, 2024
@bahaaTuffaha
Copy link
Contributor

@bahaaTuffaha can you confirm that this is fixed with the latest react-native-pdf version (v6.7.5)? There still seems to be another issue that is sometimes appearing if multiple times closing pdfs really fast multiple times (see wonday/react-native-pdf#830), but this should be okay as users should not be doing that. I would therefore close this issue.

Yes it loads faster that I can't reproduce this error... on the same emulator on android 33

@steffenkleinle
Copy link
Member Author

Already done in #2912.

@steffenkleinle steffenkleinle closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Native Affects the native project reproduction-needed Cannot be reproduced
Projects
Archived in project
Development

No branches or pull requests

2 participants