Set an application version to be associated with an interaction.
Agent version 4.244.0 or higher.
By default, the New Relic Android agent gets the app version from the
build.gradle. This method lets you override that value and set an app version by passing the app version. The app version is displayed as a dropdown in the New Relic UI, and can be used to sort interactions.
For general info on using this API, see the Android SDK API usage guide.
Required. String indicating the application version.
Example of setting an app version:
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.