anhtuank7c / reactnative-advanced

Native navigation in React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Navigate to Native from ReactNative in 5 simple steps

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

Android:

  • 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

iOS:

  • 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

Github: https://github.com/anhtuank7c/reactnative-advanced

About

Native navigation in React Native

License:MIT License


Languages

Language:Objective-C 38.3%Language:Java 28.0%Language:Ruby 13.0%Language:Python 11.5%Language:JavaScript 9.2%