react-native-blur: [Android] Crash on screen navigation
The app is crashing without error when i add the BlurView component in my stack screen.
Workaround
<Stack.Navigator screenOptions={{animationEnabled: false}}>
...
...
</Stack.Navigator>
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”,
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 22
- Comments: 22
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.
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.
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: