PlayMaker
Check for new versions and show the native “update app” flow.
Actions (6)
AppUpdaterRequestUpdateInfo(async): requests update status. FiressuccessEvent/failureEventand caches the result.AppUpdaterGetRequestUpdateInfoSuccessResult(sync): read cachedupdateStatusafterAppUpdaterRequestUpdateInfoSUCCESS.AppUpdaterGetRequestUpdateInfoError(sync): read cachederrorCode/errorDescriptionafterAppUpdaterRequestUpdateInfoFAILURE.AppUpdaterPromptUpdate(async): shows the native update prompt/flow. FiressuccessEvent/failureEventand optionalprogressUpdateEvent.AppUpdaterGetPromptUpdateProgress(sync): read cachedprogress(0..1) afterprogressUpdateEvent(Android only).AppUpdaterGetPromptUpdateError(sync): read cachederrorCode/errorDescriptionafterAppUpdaterPromptUpdateFAILURE.
Quick flows
Check, then prompt (recommended)
AppUpdaterRequestUpdateInfoAppUpdaterGetRequestUpdateInfoSuccessResult→ branch byupdateStatusIf update is available, call
AppUpdaterPromptUpdate
Forced update with progress (Android)
AppUpdaterPromptUpdatewithisForceUpdate = trueandstayActive = trueOn
progressUpdateEvent, callAppUpdaterGetPromptUpdateProgressand update your UI.
Manual “Update App” button
Call AppUpdaterPromptUpdate directly from your settings/help screen (and handle FAILURE with AppUpdaterGetPromptUpdateError).
Notes
AppUpdaterRequestUpdateInfowill fail if AppUpdater isn’t available on the current platform.Progress updates are typically meaningful only on Android.
Use cases
Start here: use-cases/README.md
Last updated
Was this helpful?