Closed JimTeva closed 4 years ago
Hey @JimTeva, thanks for the information!
I didn't try to use notifier
with react-native-navigation
, but this might be helpful and I'm going to add a link to this issue in Readme.
@JimTeva Why is this required in the first place? Did the notifications not show up? Did the screw up the rendering of the navigators?
@pke I don't know if this is still relevant as it has been more than a year now. For what I remember the notifier didn't show up while using react-native-navigation.
I'll give it a try.
@JimTeva Why is this required in the first place? Did the notifications not show up? Did the screw up the rendering of the navigators?
The issue is the z-index if you're using createNativeStackNavigator
. The notifications appear beneath the screens
@z1haze Are you talking about React Native Navigation or React Navigation?
Sorry, react-navigation. I'll update my post. There's a Readme todo about perhaps this issue, but it is hardly a fix
For anyone who needs to make this work with react-native-navigation, this is how I did:
Create a transparent screen (a full screen component) where you will display the notifier
Register that screen with react-native-navigation (I am using Redux and a gestureHandler in my example but this is not needed)
Now, anywhere in your app, show the notifier using Overlay