I am using my NET MAUI project properties > MAUI Shared > General > Application Display Version to set app version (example below):
However, when I call:
AppInfo.Current.Version.ToString()
On my app about page the value is always '1.0.0'.
Am I not using the correct setting?
Edit:
Actually looks like my issue was related to deployment on 'iOS Local Device'. I tested on Android emulator and seeing the correct values:
I am learning testing on 'iOS Local Device' does not deploy a lot of features: splash images, icon, and looks like some app info.
Edit 2:
Filed issue on MAUI repo: https://github.com/dotnet/maui/issues/20000
In my case I was not seeing the correct Application Display Version value only when deploying to 'iOS Local Device'. Tested on 'Android Emulator' and correct value displays.
I am learning testing on 'iOS Local Device' does not deploy a lot of features: app custom splash images, app custom icon, and looks like some app info.
Hope this saves someone time in case they run into the same scenario.