-
Notifications
You must be signed in to change notification settings - Fork 324
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
Android crashes on render due to issues in dependencies #549
Comments
Agent comment from Stephen Hodgetts in Zendesk ticket #10122: |
@shodgetts our org name is |
Agent comment from Stephen Hodgetts in Zendesk ticket #10122: |
Actually, seems like this is solved in the underlying android lib. A
|
Hey @lucaswhitman thanks for bringing this up. We have actually seen this issue, and we are going to include this patch in our docs. Currently the issues that we have seen, do get resolved from the patch you mentioned. But in future if we do see some issue which is not solvable, we will look for alternative for our usage of blurring effect. |
Thanks @vishalnarkhede, looking forward to the first few patches. I've got another item but I'll raise it in another issue for clarity. |
Actually, still seeing this issue locally. I'm cleaning and building a few times in a row and I'm still getting this when I close the messenger screen we've got set up. I thought it was a different error but when I went up a bit in the logs I saw the same error being thrown. |
@lucaswhitman To unblock you for now, can you try following solution? This basically overrides the import { StyleSheet, View } from 'react-native';
import { registerNativeHandlers } from 'stream-chat-react-native-core';
registerNativeHandlers({
BlurView: () => (
<View
style={[
StyleSheet.absoluteFillObject,
{
backgroundColor: 'some_background_color'
}
]}
/>
)
}) |
Please let me know if this gets rid of the error!! |
@vishalnarkhede that worked! Adding some notes to our code, but this should allow us to move forward a bit. Thank you! |
Describe the bug
Hi all, we're trying to move to 3.0 and I'm working through getting all the dependent libraries set up and I'm stuck on one and I'm just looking to see if anyone has encountered and solved this issue. iOS is working fine, but when I try and open my screen on Android it just crashes. I pulled up
adb logcat
and found logs that pointed me towards these issues in one of the new dependencies.Kureev/react-native-blur#368
Kureev/react-native-blur#380
Kureev/react-native-blur#396
I'm a little concerned about this lib as it doesn't seem very well maintained, and it makes us a little leery about moving to 3.0 for a bit. Anyone have a way around this? Please let me know if there's any more info I can provide, and if I missed something in the docs or another open PR I apologize in advance!
Dev environment info (please complete/provide the following information):
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Message channel renders.
Additional context
Log samples:
gz#10122
The text was updated successfully, but these errors were encountered: