Skip to content

Conversation

@messense
Copy link
Contributor

@messense messense commented Apr 6, 2017

I am using react-native-navigation and I want to integrate react-native-sentry to my app. Sadly I don't know how to access rootView with react-native-navigation.

Since installWithRootView actually uses RCTBridge under the hood, I guess adding a installWithBridge method should make sense?

Now I can do:

RCTBridge *bridge = [[RCCManager sharedIntance] getBridge];
[RNSentry installWithBridge:bridge];

@HazAT HazAT merged commit ce10f3b into getsentry:master Apr 6, 2017
@HazAT
Copy link
Member

HazAT commented Apr 6, 2017

Thx 💯

@messense messense deleted the installWithBridge branch April 6, 2017 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants