QRCode SVG Example App
January 8, 2025 ยท View on GitHub
Step 1: Install dependencies
Install dependencies in both root and Example directories.
npm 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/.