Skip to content

Commit

Permalink
docs: Improving IapExample Readme.md (hyochan#2692)
Browse files Browse the repository at this point in the history
Added Steps for installing node_modules and IOS pods in README.md of
IapExample.
  • Loading branch information
dmitryou authored and arthurgeron committed Apr 2, 2024
1 parent 335a26e commit 20a0e2a
Showing 1 changed file with 26 additions and 6 deletions.
32 changes: 26 additions & 6 deletions IapExample/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
This is a new [**React Native**](https://reactnative.dev) project, bootstrapped using [`@react-native-community/cli`](https://github.com/react-native-community/cli).

# Getting Started
# Getting Started with IapExample

>**Note**: Make sure you have completed the [React Native - Environment Setup](https://reactnative.dev/docs/environment-setup) instructions till "Creating a new application" step, before proceeding.
## Step 1: Start the Metro Server
## Step 1: Install dependencies

Install _node_modules_ :

```bash
# using npm
npm install

# OR using Yarn
yarn install
```

### For iOS

Install pods:
```bash
cd ios
pod install
```

## Step 2: Start the Metro Server

First, you will need to start **Metro**, the JavaScript _bundler_ that ships _with_ React Native.

Expand All @@ -18,18 +38,18 @@ npm start
yarn start
```

## Step 2: Start your Application
## Step 3: Start your Application

Let Metro Bundler run in its _own_ terminal. Open a _new_ terminal from the _root_ of your React Native project. Run the following command to start your _Android_ or _iOS_ app:

### For Android

```bash
# using npm
npm run android
npm run android:play

# OR using Yarn
yarn android
yarn android:play
```

### For iOS
Expand All @@ -46,7 +66,7 @@ If everything is set up _correctly_, you should see your new app running in your

This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.

## Step 3: Modifying your App
## Step 4: Modifying your App

Now that you have successfully run the app, let's modify it.

Expand Down

0 comments on commit 20a0e2a

Please sign in to comment.