Unfortunately there is no easy answer to this question as it will require a different implementation for each platform. You'd have to get the version number and then check the latest version available on each store. Besides hard coding a version somewhere there isn't really a good way of getting the current app version either, a quick Google search led me to this plugin which may be helpful.
1 person found this helpful
Once you've determined that an update is required, you will need to prompt the user to update their app with push notifications.
Here are a couple of online tutorials that will get you started with the PhoneGap Push plugin.
this one helped... thanks
I'll have a look at this.. thanks for the suggestion