Closed DenysGavryluk closed 5 years ago
AppRegistry.registerComponent('Initializing', () => registerScreens);
You don't have to do this.
The RNN playground has a working example of how to register screens with RNN. You can follow that.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the react-native-navigation
tag.
Issue Description
Steps to Reproduce / Code Snippets / Screenshots]
// index.js import {Navigation} from 'react-native-navigation'; import {registerScreens} from './screens'; import {AppRegistry} from 'react-native';
registerScreens(); AppRegistry.registerComponent('Initializing', () => registerScreens); Navigation.events().registerAppLaunchedListener(() => { Navigation.setRoot({ root: { component: { name: 'Initializing' } }, }); });
Environment