check ionic version installed code example
Example: how to check app version in ionic
import { AppVersion } from '@ionic-native/app-version/ngx';
constructor(private appVersion: AppVersion) { }
...
this.appVersion.getAppName();
this.appVersion.getPackageName();
this.appVersion.getVersionCode();
this.appVersion.getVersionNumber();