demo-components- Demo app and modalse2e- E2E test casesrnXX- Projects
demo-components/src/modals.config.js- Crucial for setting up UI & e2e tests
- Clone
react-native-multiple-modalsto the root folder so you have this repo at the same level - Run
yarn project:runwith following arguments--platform=(android | ios)--project=(rn78 | rn80)--arch=(new | old)- Prefer adding:
--verbose
yarn project:run --platform=android --project=rn80 --arch=new --verbose
# or
yarn project:run --platform=ios --project=rn80 --arch=new --verbose- Clone
react-native-multiple-modalsto the root folder so you have this repo at the same level cdto a preferred project (Eg.cd rn80)- Install Node Modules
yarn install - Install CocoaPods
pod install --project-directory=ios - Run the app:
- Android:
yarn android - iOS:
yarn ios
- Android:
Prefer using yarn e2e:matrix. It will run all possible test scenarios for you
yarn e2e:matrix -u
- Use
npx @react-native-community/cli init rnXX --version XX - Run
yarn project:setup rnXX
See /demo-components/src/modals