I am migrating our app from
Capacitor. We will also be including a web version in the same project.
Question is: Is there a way to get the version of the app when in the web? I tried the following things, but none of them seems to be working on the web, when all are working on a native device.
let cInfo = await (<any>window).IonicCordova.deploy.getConfiguration(); // Property doesn't appear on window on the web const config = await Plugins.Device.getInfo(); // No version on the web const appInfo = await this.pro.getAppInfo(); // Error in the web const deployInfo = await this.pro.deploy().info(); // Error in the web const versions = await this.pro._deploy.getVersions(); // Error in the web
Thanks in advance,