npm install -g expo-cli
and follow the Expo CLI Quickstart guide here
yarn start
- Install the Expo Go app Here
- Open the Expo Go app and scan the QRCode shown in the terminal.
- Install the Expo Go app Here
- Open the Camera app and scan the QRCode shown in the terminal.
Make sure to follow the React Native CLI Quickstart guide here since you will need to configure Xcode and Android Studio for this.
yarn ios
yarn android
In App.tsx
make sure to run the Demo4 or Demo5 and then try the following commands (switch to --android
if needed)
# It will open the Details page
npx uri-scheme open "exp://127.0.0.1:19000/--/item/2" --ios
# It will open the Modal page
npx uri-scheme open "exp://127.0.0.1:19000/--/modal" --ios
# It will open the Settings page
npx uri-scheme open "exp://127.0.0.1:19000/--/settings" --ios
# It will open the Unknown page
npx uri-scheme open "exp://127.0.0.1:19000/--/unknown/4" --ios