android - How to alert the users that there is a new Updation available in google play store -


this question has answer here:

i have application on play store , first time have updated it. how alert users there new updation available in google play store through app when open it,just notification or alert , redirect linked apk page.

startactivity(new intent( intent.action_view, uri.parse("https://play.google.com/store/apps/details?id=com.novtory.provider") ));

i think above code may link page want know how send notification when there new update available without using third party library.please me out.

in first screen or splash screen call web api return latest version code. , compare current app's version code. if not latest show user alert dialog needs update app. , redirect user play store app using intent. note have update latest version code on server every time upload update.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -