sampart / cordova-plugin-app-version

Cordova plugin to return the version number of the current app [not maintained]
MIT License
401 stars 195 forks source link

AppVersion.java uses or overrides a deprecated API #133

Open templatetuners opened 2 years ago

templatetuners commented 2 years ago

cordova\AppVersion.java uses or overrides a deprecated API

cordova 11.0.0

MrRotella commented 1 year ago

this plugin use a deprecated api to retrieve the versionCode. From Api level 28 versionCode was replaced by getLongVersionCode method. To avoid this issue in the AppVersion.java yuo need to:

Hope this may help.