React Native Cookbook
上QQ阅读APP看书,第一时间看更新

Getting ready

We will need to create a new app for our WebView-based recipe. Let's name our new app web-view. We'll also be using react-navigation, so be sure to install this as well. You can use yarn or npm to install the package. In the root of the project, run the following:

yarn add react-navigation

Alternatively, install them using npm:

npm install --save react-navigation