Open a new bash shell
npm install
npm run android
- Open a new bash shell
npm install
cd ios
rm -rf ~/Library/Caches/CocoaPods Pods ~/Library/Developer/Xcode/DerivedData/*; pod deintegrate; pod setup; pod install;
open in folder ios filename extension with .xcworkspace
cd android
./gradlew assembleRelease
npm i
cd ios
rm -rf ~/Library/Caches/CocoaPods Pods ~/Library/Developer/Xcode/DerivedData/*; pod deintegrate; pod setup; pod install;
xcodebuild archive -scheme corporate_chat -workspace corporate_chat.xcworkspace -configuration Release -archivePath build
xcodebuild -exportArchive -archivePath build.xcarchive -exportOptionsPlist exportOptions.plist -exportPath build
- Open a new bash shell
- npm install
- cd android
- ./gradlew clean
- npm run android
- Open a new bash shell
- cd android
- ./gradlew assembleAndroidTest
- npm run detox-debug
- Open a new bash shell
- npm install
- cd ios
- rm -rf ~/Library/Caches/CocoaPods Pods ~/Library/Developer/Xcode/DerivedData/*; pod deintegrate; pod setup; pod install;
- npm run ios
- detox build --configuration ios.sim.debug
- detox test --configuration ios.sim.debug
- in appDelegate.m (if Debug) change string from [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; to [NSURL URLWithString:@"http://172.20.10.2:8081/index.bundle?platform=ios&dev=true&minify=false"];
- npm cache verify
- npm run android --reset-cache
ESLint fixes are syntax-aware so you won't experience errors introduced by traditional find-and-replace algorithms. It statically analyzes your code to quickly find problems.
You have to install dbaeumer.vscode-eslint to your plagins.
First part of the string is main purpose of component or element. Second part is route name that we pass on to it. If there are multiple items with unique value (e.g. username), we add this unique part in the center of the testID's string between "_" symbol. For example:
- Simple component: ProfileHeaderTextSettingView
- Component with unique value: ConactItem_uniqueusername_ContactsView
- Instal library
npm install -g msvgc
- Convert file from root dir
msvgc -f ./src/assets/fileName.svg -o ./src/assets/ --react-native