Notify user within app that a new version is available

There is no API or service by when you can check with Google Play what the latest version of your app is.

Instead, you should maintain the latest version code on your server, and have your app check it periodically against its own version code. If the version code is higher on the server, then your app needs to be updated and you can tell the user accordingly.


You can do that with this new Android Official API https://developer.android.com/guide/app-bundle/in-app-updates