This project works together with Version Builder and changes the files of the Android and iOS.
- React Native project
npm install --save react-native-version-update
Inside package.json
"scripts": {
...
"version": "version-update"
}
Passing --builder
, on start it returns the value of the request and adds in the package.json of the project with React Native the attribute buildNumber
.
Passing --date
adds in the package.json of the project with React Native the attribute buildDate
.
"scripts": {
...
"version": "version-update --builder=example-app"
}
"scripts": {
...
"version": "version-update --date --builder=example-app"
}