PlayMaker
Last updated
Check for new versions and show the native “update app” flow.
AppUpdaterRequestUpdateInfo (async): requests update status. Fires successEvent / failureEvent and caches the result.
AppUpdaterGetRequestUpdateInfoSuccessResult (sync): read cached updateStatus after AppUpdaterRequestUpdateInfo SUCCESS.
AppUpdaterGetRequestUpdateInfoError (sync): read cached errorCode / errorDescription after AppUpdaterRequestUpdateInfo FAILURE.
AppUpdaterPromptUpdate (async): shows the native update prompt/flow. Fires successEvent / failureEvent and optional progressUpdateEvent.
AppUpdaterGetPromptUpdateProgress (sync): read cached progress (0..1) after progressUpdateEvent (Android only).
AppUpdaterGetPromptUpdateError (sync): read cached errorCode / errorDescription after AppUpdaterPromptUpdate FAILURE.
AppUpdaterRequestUpdateInfo
AppUpdaterGetRequestUpdateInfoSuccessResult → branch by updateStatus
If update is available, call AppUpdaterPromptUpdate
AppUpdaterPromptUpdate with isForceUpdate = true and stayActive = true
On progressUpdateEvent, call AppUpdaterGetPromptUpdateProgress and update your UI.
Call AppUpdaterPromptUpdate directly from your settings/help screen (and handle FAILURE with AppUpdaterGetPromptUpdateError).
AppUpdaterRequestUpdateInfo will fail if AppUpdater isn’t available on the current platform.
Progress updates are typically meaningful only on Android.
Start here: use-cases/README.md
Last updated