Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notify user within app that a new version is available

I have an android app in the market and I've noticed that it can take quite a while for the app to be updated when I release a new version.

What I was hoping is something like what Google do with their Google Chrome app (may only be the beta version that does it not sure).

What I want to do is when the user launches my app, it can do a check to see if there is a new version available, and if so, just display a small message at the bottom to inform the user that there is a new version available for download. If they click it then the user will be taken straight to the app within the play store so they can commence the update.

How is this done? I've not managed to find anything for android, I've found a couple of things relating to iOS but obviously no good to me.

Thanks for any help you can provide.

like image 208
Boardy Avatar asked May 09 '13 16:05

Boardy


People also ask

How do I notify people of an app update?

If you seriously want to make a notification from your app to ask them to update (so that everyone gets the notification, whatever their Google play settings are, then you will have to make a web service which returns the number of the newest version. You can then compare that inside your app and post a notification.

How do you control the application version update to specific number of users?

Click on the app that you want the information and go to Statistics on the left menu. Now, you have a graph on your page. You can select the type of stats you want to see on the top in the middle, keep "Installs on active devices" selected. Right below that, you have another dropdown on "Android version".

Can you force user to update app?

Half a year ago, at the Android Dev Summit, Google announced a new way for developers to force their users to update their apps when they launch new features or important bug fixes.


2 Answers

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

like image 102
Sabeeh Avatar answered Sep 19 '22 23:09

Sabeeh


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.

like image 29
Raghav Sood Avatar answered Sep 18 '22 23:09

Raghav Sood