Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 984 Bytes

README.md

File metadata and controls

48 lines (31 loc) · 984 Bytes

QRCode SVG Example App

Step 1: Install dependencies

Install dependencies in both root and Example directories

cd .. && yarn install && cd Example
yarn install

Step 2: Start Example Native Application

First, you will need to start Metro, the JavaScript bundler that ships with React Native.

To start Metro, run the following command:

yarn start

Let Metro Bundler run in its own terminal. Open a new terminal from the root of your Example app directory . Run the following command to start your Android or iOS app:

For Android

yarn android

For iOS

cd ios && pod install && cd ..
yarn ios

If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.

Step 3: Start Example Web Application

Just run

yarn web

and enter the http://localhost:8080/.