In flexible app update function, it allows Android users to keep using the app even while it is being updated.
Additionally, developers can now full-screen messages asking the user to update the app immediately, unless they're prevented by a metered connection or the battery is too low.
The new API gives developers two new ways to update their apps.
If an update is a part of regular changes and doesn't have any major security fixes, developers have also been provided with the flexible in-app update option. The app is then updated when the app is closed.
For example, the percentage of Android devices that contain at least one potentially harmful application (PHA) -the term Google uses for Android malware- is above the 0.5 percent figure for Android devices running KitKat (4.x), Lollipop (5.x), and Marshmallow (6.x), but it's way smaller for newer OS versions.
The API gives developers an immediate in-app update option that can be used mainly to push critical updates. From that notice you'll see an update button, meaning you won't need to go into Google Play to retrieve the update. We think so simply because it looks like you have to actively seek out the update, instead of having a pop up appear on your screen.
Right now, the in-app update API is being tested through the Android Google Chrome app and with select partnered developers, but Google plans to expand that early access program in the near future.