How to check android app version in user end



  • I would like to know the current android app version for a user. In ionic we can do this by below steps.

    Install the Cordova and Ionic Native plugins:

    $ ionic cordova plugin add cordova-plugin-app-version
    $ npm install --save @ionic-native/app-version@4
    

    Usage :

    import { AppVersion } from '@ionic-native/app-version';
    
    constructor(private appVersion: AppVersion) { }
    
    ...
    
    
    this.appVersion.getAppName();
    this.appVersion.getPackageName();
    this.appVersion.getVersionCode();
    this.appVersion.getVersionNumber();
    

    Is there any way to check this info in Quaser Framework ?



  • @arkaprova inside your /src-cordova run cordova cli to add your plugin.


Log in to reply