Can you access Project Settings -> Player -> Other Settings -> Version via script at runtime?

Under Project Settings → Player → Other Settings there is a version field. Whatever you set here shows up as the version name in Google Play when you upload a build. Is there a way to get the contents of this Version field at runtime?

UnityEditor.PlayerSettings has a variety of info, including bundleVersion, but I cannot see anything for the Version field.

I’d like to be able to grab the version value to display in the UI at runtime.

Application.version is probably the value you’re looking for.

To achieve this you need to write code in manifest file of your project. In manifest file you can set target sdk version and minimum adk version.

 <uses-sdk android:minSdkVersion="14"
      android:targetSdkVersion="19" />