-
Notifications
You must be signed in to change notification settings - Fork 565
[Android] Crash on screen navigation #461
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
Comments
Update!!! The problem is not with navigation Stack it's when using bottom Tabs. I placed the screen with the blurview out of the Bottom Tabs, in my initial Stack Screen and it's working fine. The order of my Navigation (Stack/Tabs) now is like this:
|
same problem |
same here ! |
Hi everyone, I provided a reproduction of this issue in react-native-screens repo. If you check the log, you will find that it's happening because of react native screens. It seems the author is not responding to the issue. If you comment in that issue, I think it will catch the attention of the author. The issue link : software-mansion/react-native-screens#1287 (comment) |
Same problem |
Same Problem Here. |
i have re-written the lib to work correctly on new RN version => https://www.npmjs.com/package/rn-id-blurview |
On Android i'm still getting this Exception while using it inside a StackScreen which is wrapped inside BottomTabs and i'm navigating from ScreenA to ScreenB inside the StackScreen.
|
Hi @TommysG last time we found out that the crash happens because of the Android BlurView & also because of react-native-screens. There was a PR to fix the issue in react-native-screens which can be found here . Use this PR to fix the issue. I checked the repo of @idrissakhi and noticed that the repo is using the latest version of BlurView. So I think it should solve your crash issue |
I can confirm that @idrissakhi fork didn't work for me. These are the packages I had installed
|
Same here ! |
I have the same issue but This is cuz of position absolute in style.But if you remove that then blurView is not visible |
It doesn't crash for me but just doesn't work - it's a solid color on Android (Galaxy S22, Android 12) <BlurView
blurType="dark"
style={StyleSheet.absoluteFill}
reducedTransparencyFallbackColor={DarkTheme.background.grey80}
blurAmount={4}
blurRadius={5}
/> |
This patch helped me to resolve this issue.
|
The problem disappear when I remove the animation on the stack navigator from react-navigation/native-stack :
It's still not a fix as I would like to have the default card animation on Android. |
good |
Should be fixed on latest |
hmm still experiencing the issue. react-native-blur version 4.3.2 |
I've tested and the issue was fixedreact-native: 0.71.6 |
Same issue also, not fixed for me react-native-blur version 4.3.2 |
I'm facing the same issue, not fixed for me. |
Also facing the same issue and unable to resolve by removing navigation animations. |
thx it works |
The app is crashing without error when i add the BlurView component in my stack screen.
Workaround
But i don't have the nice transitions between the screens.
Any solution for this?
Versions
"@react-navigation/native": "^6.0.8",
"@react-navigation/stack": "^6.1.1"
"@react-native-community/blur": "^3.6.0"
"@react-navigation/bottom-tabs": "^6.2.0",
The text was updated successfully, but these errors were encountered: