How to render a UINavigationController instance in react native using react-navigation and react-native-screens? - react-native

I have a setup where I have bottom navigator created via createBottomTabNavigator, and each tab rendering a native stack navigator created via createNativeStackNavigator. Now I'm trying to merge another app in written in Swift UIkit.
That app uses UITabBarController to render tabs created via UINavigationController.
Is it possible, either at tab level or screen level to get those screens to render in React Native?
I tried exposing the UINavigationController stack via the NativeModules interface, but I'm not sure how to plug that into the JS bottom navigator.
Any help would be greatly appreciated.

Related

React native container subpages navigation

I am creating a React native application with the following scenario:
There is a navigation bar at the bottom of the screen, allowing the user to navigate between three main pages. On one of these pages, there is a backdrop with a container overlayed on it with two buttons. Each of these buttons should show open different "pages" in that container, and the navigation bar will be hidden when the user opens one of those "pages". An image is included below.
App layout example
My question is: how is this best implemented in react native?
My original idea was to implement a custom Stack Navigator with createStackNavigator. While this does work, I was wondering if this is a good way to go about it.
One result from using a custom navigator is that the navigation state in the container is also bound to the back button of the device (on Android). However, this is a welcome feature in this case as it makes sense in the navigation flow.

How to keep tabbed navigation in a separate file in react native?

I have implemented stack navigation for may login screens in my app. After login is success I want to navigate to main module(main screen ) where I need to implement tabbed navigation. So how I need to implement tabbed navigation inside the navigation folder of my mail module?

React Native 'popover' component with navigation

Anyone knows of a popover component for RN with React Navigation built in? similar to https://developer.apple.com/design/human-interface-guidelines/ios/views/popovers/
I have tried https://github.com/steffeydev/react-native-popover-view#readme but it doesn't have the navigation (able to have screens stack within the popover) - same author have a component but was outdated and won't work with React Navigation v5.x

Navigation using react native

I'm new in react native and I'm looking for an example of react navigation. I'm looking to create a home page similar to the picture below.
Use React Navigation
Stack Navigator - It let's you switch between screens. It creates a stack. It let's to navigate from one screen to another. When you press back button it navigates you back to the first screen. It
Tab navigator- It will create tabs as your picture.
In your case I think you will need a tab navigator which will be inside stack navigator.

React Navigator and React Native Interactable libraries

How to use ReactNavigator (https://reactnavigation.org) in pair with ReactNative Interactable(https://github.com/wix/react-native-interactable) for animated transiotion between Navigator states ?
Has anyone tried this ?
In general I need to create a component, which takes routes config like StackNavigator proposes from React Navigator library and this component should gets left/right/top/bottom screens views and show then on swipe from left/right/top/bottom sides of the phone respectively.
So StackNavigator is suitable for me. But I need to switch between routes with screen custom animation. And I need to has a possibility to swipe from the any side of the phone device!
Help please!! Thanks!