Android:How to notify In game Update

How to notify my players about the Game Updates?

In case of the Android/Play Store, each time gamers need to go through the play store to know about the Update.
But I need to warn them on opening the Game to update the game and then continue.

I need a Practical answer other than just theories and suggestions.
I need an answer from someone who actually published their game on Playstore.
Is there any way to compare the Store version and current game version and warn on the launch of the game to update?

Thanks in advance.

As someone that released an application to play store, you just add the new version to the play store and they will get a notification, and if they accept(or have auto update) the game will be deleted and installed with the newer version(data shouldn’t be lost).