Implement In app update For Your android app

Ahmed Basalib
Jul 29, 2021

--

How to notify the users that a new version of your app is released

Your app can use the Play Core library to support the following UX flows for in-app updates:

Flexible updates:

Flexible updates provide background download and installation with graceful state monitoring. This UX flow is appropriate when it’s acceptable for the user to use the app while downloading the update

Immediate updates:

Immediate updates are full screen UX flows that require the user to update and restart the app in order to continue using it.

Steps:

1- add the Play Core library to the Gradle file

implementation 'com.google.android.play:core:1.10.0'

2- Check for update availability

3-Get a callback for update status by implementing onActivityResult()

4-Create a listener to track request state updates.

--

--

Ahmed Basalib

Software Engineer | Frontend Developer | Reactjs Dev | Nextjs Technical Product Manager