- William Candillon (@wcandillon)
- Krzysztof Magiera (@kzzzf)
During this workshop we will work with an Expo / React Native app published in this repo. In order to make setup more seamless we have prepared a so-called Expo's development client builds that include all the native code for all the dependencies that are used as a part of the workshop.
You should be able to use iOS simulator, Android emulator, or any modern Andorid or iOS phone to perform the exercises, however, we recommend that you stick to one choice to avoid additional setup steps you may need to do in the future. If you choose to work with an emulator (either iOS or Android) make sure that you have that emulator installed and configured as setting it up is outside of this setup scope.
use the below command to install Expo CLI:
npm install -g expo-cli
Or make sure it is up to date if you have it installed already:
expo --version
Depending on what device or simulator you choose to use, you'll need to install custom made Development Client application in your environment. Follow one of the sections below for detailed instructions.
- Download Development Client build from this link
- Extract
appjsworkshop.app
file from the downloaded archive - Launch your iOS simulator
- Drag and drop the
.app
file onto the simulator
- Scan the QR code below with your iOS phone:
- Click "install" button on the website that the code opens, and confirm with "install" button on the dialog that pops up after that
- After app installation is completed navigate to "Settings" > "General" > "VPN & Device Management" section
- Tap "650 INDUSTRIES INC." record in the "ENTERPRISE APP" section
- Tap "Trust 650 INDUSTRIES INC." on the following page and confirm the selection when prompted
- Make sure you can now launch "appjs-workshop" app installed on your phone
- Download Development Client build from this link
- Launch Android emulator on your computer
- Drag and drop the downloaded
.apk
file onto emulator
- Scan this QR code on your device:
- Tap "install" button on the website that opens after scannig the code
After completing Development Client installation step, you now should be able to clone this repo and launch the app. Follow the below steps from the terminal:
- Clone the repo:
git clone git@github.com:software-mansion-labs/drawings-and-animations-workshop.git && cd drawings-and-animations-workshop
- Install project dependencies (run the below command from the project main directory):
yarn
- Launch the app with Expo CLI:
expo start --dev-client
- The above step will print instructions on how to launch the app on phone or simulator. For iOS siulator you'll need to press "i", for Android press "a", and if you'd like to run the app on a physical device you'll need to scan the QR code that will be displayed on the command line output.
Go to: Animated Reactions