-
-
Notifications
You must be signed in to change notification settings - Fork 983
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
Guard against null event handler to prevent android crash #1089
Conversation
Is there a plan to merge this any time soon? |
we're going to try this out & see if it has any effect - if it seems to be a stable fix i'll mark the PR as ready to review |
@bnchdrff ANd, did you got results from your tests? |
Any update on the status of this PR? For a project I am working on I was planning on forking this repo to apply the patch since we are seeing a significant (enough) amount of crashes in production but I'd like to avoid that if this will be merged shortly. |
Applying the patch fixed the crashes for me. |
Waiting for this one to be merged. |
I'd like to wait with merging this after we know what causes the crash, this solution prevents events from being sent if extra data is null but what makes it null in the first place? If you want to use this solution before it's merged you can use patch-package to do that. |
hi team dev, can you review and fix this issue please. i have same bug on my project and i cant fix it :( Many thanks! |
thanks for everyone's patience - yes this patch does resovle the exceptions for our app! |
Does this help?
|
@kamalpandey this seems like another crash, so not really. You can open an issue for it if you want. Some small reproduction examples would be ideal here, so we can reproduce this crash deterministically. |
@jakub-gonet Sorry I don't have any idea how to reproduce it. I am seeing this on crash log. |
Apple patch from software-mansion#1089
Apply patch from software-mansion#1089
Hello guys, is there any plan or ETA when this PR is gonna be merged? We need it to go forward and we'd rather not result to hacks like catching exceptions on the main thread or overriding dependencies. Thank you very much <3 |
@Setekh, I'll try to investigate it in a few days, until this is merged you can use patch-package to automatically apply this patch after RNGH installation. |
Going to close this one in favor of #1171. Thanks for contributing! |
This PR adds a patch from kaiterra@99d4ddc / getdelta@311da06 to prevent an exception like the following:
The crash is mentioned in the following issues: