GPlayAppUpdater

Last Updated On 2021-07-16

Version 1MinSDK 21Tutorial Video

GPlay updates is a Play Core library feature that introduces a new request flow to prompt active users to update your app.Works only with devices running Android 5.0 (API level 21) or higher,


Properties

You can set the below properties in the UI part of the builder.

  • AutoUpdate - it's a boolean value which is set to true by default.
  • Flexible - it's a boolean value which is set to true by default.

Block Properties

You can set the below blocks properties in the blocks section of the builder.

AutoUpdate

Automatically Check and Show Updates


Flexible

If Enabled Update will happen in the background



Methods

You can set the below method blocks in the blocks section of the builder.

CompleteUpdate

Complete Update in Case of a Flexible Update. This Function will restart the App and Complete the Update

StartUpdate

Call this Function if Auto Update is not enabled


Events

You can set the below event blocks in the blocks section of the builder.

UpdateAvailable

Event for UpdateAvailable

UpdateCancelled

Event for UpdateCancelled

UpdateDownloaded

Update Was Downloaded

UpdateFailed

Event for UpdateFailed