Set the app version
The version attribute for an app is set as freeform string, passed as a command argument when creating the application package. You can use the version attribute to describe the application version as a SemVer, or use any other type of versioning scheme. Pass the--build-version flag when invoking the build for your React Native for Vega app, from the command line or in a script.
From the command line
From your script in package.json
Set the app build number
The build number of an app is an increasing number (between 1 and 2^63-1) that represents a unique build of the application package. Set the build number as a command argument when creating the app package. Pass the--build-number flag when invoking the build for your React Native for Vega app, from the command line or in a script.
From the command line
From your script in package.json
Check your version and build numbers
After you build your app, you can use thevpt tool to validate that the version and build number properties are correctly set in the app package. The VPT tool may be found under your SDK install location. In the terminal where you initialized the Vega SDK environment, run the below command, replacing with your app’s path.

