react-native-navigation
react-native-navigation copied to clipboard
Retrieving react native bridge in v2
Im trying to initialize Sentry after I run [ReactNativeNavigation bootstrap:jsCodeLocation launchOptions:launchOptions]; but to initialize, I need access to the bridge.
In v1 I was able to use [[RCCManager sharedInstance] getBridge]. How is this done now in v2?
Environment
- React Native Navigation version: 2.0.2234
- React Native version: 0.55.2
- Platform(s) (iOS, Android, or both?): iOS
- Device info (Simulator/Device? OS version? Debug/Release?): all
Exposed the bridge in https://github.com/wix/react-native-navigation/commit/e3d5dad93c1d7f1b4f940f5623b89ad1363caad7
Now you should be able to get the bridge by calling [ReactNativeNavigation getBridge];
That was fast, thank you very much!