skip to Main Content

How to hide navigation Item in react-native navigator? – React native

I'm new to React Native. I have to make an app for the WordPress backend. I've four items in DrawerNavigaton, Home and Categories, PostPage and Category screens. <NavigationContainer> <Drawer.Navigator> <Drawer.Screen name="Home" component={Home}/> <Drawer.Screen name='Categories' component={Categories} <Drawer.Screen name="PostPage" component={PostPage}/> <Drawer.Screen name='Category'…

VIEW QUESTION

React Native PermissionAndroid POST_NOTIFICATIONS get's automatically denied without asking and the app get's bugged

I execute following code in my useEffect hook: const requestNotificationPermission = async () => { try { const granted = await PermissionsAndroid.request( PermissionsAndroid.PERMISSIONS.POST_NOTIFICATIONS, { title: 'Notification Permission', message: 'Allow the app to send you notifications', buttonNeutral: 'Ask Me Later', buttonNegative:…

VIEW QUESTION
Back To Top
Search