Navigator in React Native

Navigator in React Native
0

#1

Hello, I am practing react navigation project, then I installed the package i.e
npm install --save react-navigation and i give the package.json file:
{
“name”: “myappl”,
“version”: “0.0.1”,
“private”: true,
“scripts”: {
“start”: “node node_modules/react-native/local-cli/cli.js start”,
“test”: “jest”
},
“dependencies”: {
“react”: “16.0.0-beta.5”,
“react-native”: “0.49.1”,
“react-navigation”: “^1.0.0-beta.15”
},
“devDependencies”: {
“babel-jest”: “21.2.0”,
“babel-preset-react-native”: “4.0.0”,
“jest”: “21.2.1”,
“react-test-renderer”: “16.0.0-beta.5”
},
“jest”: {
“preset”: “react-native”
},
“main”: “index.js”,
“author”: “”,
“license”: “ISC”,
“description”: “”
}

after that my Android Simulator issue is , Invarient Violation: Navigator is deprecated and has been removed from this package.it can now be installed and imported from ‘react-native-deprecated-custom-components’ instead of ‘react-native’ .