I am developing plugin. Currently my plugin has 1.0 version. If in future I will update my plugins with new version 1.1 , so how can user get message like below image
How to compare current version with new version.
I have stored my current version in database.
I have googled it. But didn't find any perfect solution.