yarnfor iOS:
npx pod-installTo run the app use:
yarn iosor
yarn android- Check if there are major versions of 3rd party dependencies, update and commit these changes first
- Remove current
exampleproject - Create a project named
exampleusing react-native-better-template - Revert
README.mdso you can see this guide - In
tsconfig.jsonadd
"baseUrl": ".",
"paths": {
"@flyerhq/react-native-chat-ui": ["../src"]
},
"resolveJsonModule": true,- In
package.jsonscripts section add
"generate-messages": "node scripts/generateMessages.js",
"prepare": "yarn generate-messages",- Check the difference in
metro.config.jsand combine all - Revert
srcfolder - Revert
scriptsfolder - Revert
index.js - Check the difference in
.gitignoreand combine all - Check the difference in
.eslintrc.jsand combine all - Install all missing dependencies
- Check the difference in
Info.plistand combine all - Open Xcode and change build number from 1 to 2 and back in the UI, so Xcode will format
*.pbxprojeliminating some changes