You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invariant Violation: withNavigation can only be used on a view hierarchy of a navigator. The wrapped component is unable to get access to navigation from props or context.
#6
Closed
trinadhkoya opened this issue
Dec 11, 2018
· 1 comment
If you are using it in a view not in navigator, you can import { InnerNaviBar } from 'react-native-pure-navigation-bar'. It is the component without withNavigation. And you can set leftElement={null} to disable default back button, or set onLeft={() => { do(); return false; }} to override default goback action of back button.
Not able to run this , can you look into this and close it ASAP
The text was updated successfully, but these errors were encountered: