Is meant to bring bring up play store to update current app
Inside the cordova project:
cordova plugin add https://github.com/Diusrex/cordova-android-update
To use inside of your javascript code, use the following line:
updateApp(shouldQuitApp, successFunction, errorFunction);
shouldQuitApp: Will determine if the app should be finished upon the play store being opened. NOTE: Does NOT guarantee that the user will update the app, just that they will be brought to the play store for the app.
success/errorFunction: The functions that will be called on error and success.