Feature Request
Description
Metadata about the app would be useful in the App plugin. App version code and number currently exist in the Device plugin, but make more sense in the App plugin (see #46).
Platform(s)
Preferred Solution
interface AppInfo {
name: string;
package: string;
versionCode: string;
versionNumber: string; // or maybe number
}
// App plugin
interface App {
...
getInfo(): Promise<AppInfo>;
...
}
Alternatives
https://github.com/whiteoctober/cordova-plugin-app-version
Additional Context
This was originally a proposal for the community: capacitor-community/proposals#65
Feature Request
Description
Metadata about the app would be useful in the App plugin. App version code and number currently exist in the Device plugin, but make more sense in the App plugin (see #46).
Platform(s)
Preferred Solution
Alternatives
https://github.com/whiteoctober/cordova-plugin-app-version
Additional Context
This was originally a proposal for the community: capacitor-community/proposals#65