You can do it in just 5 simple steps
Please like, subscribe and share, comment what do you want in the next video.
Video: Navigate to Native from ReactNative in 5 simple steps
-
Create a new Activity
-
Write a Native Module
-
Register native module to MainApplication
-
Write ReactMethod which start Activity we created earlier
-
Finish current activity to go back to React Native
-
Create a new UIViewController
-
Modify AppDelegate to use UINavigationController
-
Write native module
-
Write ReactMethod which use the navigator to pushViewController
-
Pop navigator to go back to React Native