get_current_version

Function get_current_version 

Source
pub fn get_current_version() -> GitVersion
Expand description

Returns the current application version from compile-time environment.

On the emulator path this function panics if the version string cannot be parsed, catching build issues early during development. On the app path it logs a warning and falls back to v0.0.0 so a bad build descriptor does not crash the device.