Customized version of https://github.com/whiteoctober/cordova-plugin-app-version