yarn
for iOS:
npx pod-install
To run the app use:
yarn ios
or
yarn android
- Check if there are major versions of 3rd party dependencies, update and commit these changes first
- Remove current
example
project - Create a project named
example
using react-native-better-template - Revert
README.md
so you can see this guide - In
tsconfig.json
add
"baseUrl": ".",
"paths": {
"@flyerhq/react-native-chat-ui": ["../src"]
},
"resolveJsonModule": true,
- In
package.json
scripts section add
"generate-messages": "node scripts/generateMessages.js",
"prepare": "yarn generate-messages",
- Check the difference in
metro.config.js
and combine all - Revert
src
folder - Revert
scripts
folder - Revert
index.js
- Check the difference in
.gitignore
and combine all - Check the difference in
.eslintrc.js
and combine all - Install all missing dependencies
- Check the difference in
Info.plist
and combine all - Open Xcode and change build number from 1 to 2 and back in the UI, so Xcode will format
*.pbxproj
eliminating some changes