Ping SDKs

Step 2. Configure the projects

In this step you install the dependencies each project requires.

Installing React Native dependencies

To prepare the React Native JavaScript app, install the dependencies as follows:

  1. In a command prompt, change to the reactnative/reactnative-todo folder, in the samples repo you downloaded previously.

  2. Install node dependencies by using the npm command:

    npm install
  3. Install the necessary gem files by using the bundle command:

    bundle install

Installing Android dependencies

The Android project will install the dependencies required when you open it in Android Studio.

No manual steps are required to prepare the Android project.

Installing iOS dependencies

To prepare the iOS app, install the Swift dependencies by using Cocoapods, as follows:

  1. In a command prompt, change to the reactnative/reactnative-todo/ios folder, in the samples repo you downloaded previously.

  2. Install swift dependencies by using the pod command:

    pod install