Step 2. Configure the projects
In this step you install the dependencies the projects require.
This React Native app requires two types of dependencies:
-
JavaScript and its Node package modules
-
Swift dependencies, using CocoaPods.
First, let’s install the JavaScript dependencies.
Within the project directory: forgerock-react-native-sample/reactnative-todo/
(file and directory references are from this location),
use the following command:
npm install
When the command finishes, cd
into the ios
directory and install the needed CocoaPods dependencies.
cd ios
pod install
When done, you can return to the project directory.
cd ..