wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.04k stars 2.67k forks source link

react native project issue #5556

Closed DenysGavryluk closed 5 years ago

DenysGavryluk commented 5 years ago

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

jinshin1013 commented 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.

stale[bot] commented 5 years ago

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.

support[bot] commented 5 years ago

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.