Ionic Pro: Get build version when using Deploy

Is it possible to get the build version from the latest Ionic Pro Deploy build in-app?

I am aware of the app version plugin, but this does not return the correct version if the app is updated outside of the app store via Ionic Pro’s Deploy feature.

What “build version” should it return?

Only www is exchanged by the plugin, nothing coming from config.xml or similar.
You can just create a variable in your code and read that. It will get updated via Ionic Deploy.