The app is allows to create a list of mobile details list.
Please follow the instructions at the following link and install depending on the operating system you are using.
https://reactnative.dev/docs/environment-setup
The current config is pointing to prod so you do not have to run local server.
If you want to run the local server, change the "selectedServer" in src => common => debug_config to "local".
Please git clone https://github.com/theRealSheng/phone-server for running local server and follow the instruction in the repo.
Run following command at root level project
- yarn/npm install to install dependencies.
- cd ios && pod install
- yarn ios or yarn android **
IMPORTANT: **If you decided to run the server locally, for Android you will have to run the command "yarn android_dev" to order to map the ports.
Change the "selectedServer" in src => common => debug_config to "prod" in order to test again server remote server. Otherwise, if you wish to use "local", please run the server with "yarn start".
Install brew if you don't have it. => https://brew.sh/
brew tap wix/brew brew install applesimutils
GO TO: .detoxrs.json file at root level.
Change the "device" key in devices => simulator => device and change to simulator of choice.
- Build IOS project - yarn build_test_ios/build_test_ios_release
- Run test command - yarn test_ios/test_ios_release
IMPORTANT: At this moment Detox DOES NOT React Native 0.66.
It will not work for now.