Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window.notificationEventBus undefined #21

Open
kdawgwilk opened this issue Nov 17, 2018 · 1 comment
Open

window.notificationEventBus undefined #21

kdawgwilk opened this issue Nov 17, 2018 · 1 comment

Comments

@kdawgwilk
Copy link
Contributor

I am getting a red screen on launch related to deep link handling in index.js:

window.notificationEventBus.on(RN_NAV_HANDLEDEEPLINK, (event) => {
  this.handleDeepLink(event);
});

That cannot read property 'on' of undefined

If I comment out these 3 lines I launch successfully

Environment

react-native-navigation: v2.1.3
react-native-navigation-v1-v2-adapter: v2.0.10
react-native: 0.56

@kdawgwilk
Copy link
Contributor Author

Looks like it was removed in V2 and should be removed from the adapter as well see wix/react-native-navigation#3991

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

No branches or pull requests

1 participant