Update shortcuts based on your app state (progression, entitlement, season, user preferences).
AppShortcutsAddShortcut
AppShortcutsRemoveShortcut
AppShortcutsGetAddShortcutError (optional)
AppShortcutsGetAddShortcutError
AppShortcutsGetRemoveShortcutError (optional)
AppShortcutsGetRemoveShortcutError
shortcutIdsToKeep (String list/array you maintain)
shortcutIdsToKeep
shortcutIdToRemove (String)
shortcutIdToRemove
Decide your set: build shortcutIdsToKeep in your own logic (there is no “get current shortcuts list” action/API exposed here).
Add or update: call AppShortcutsAddShortcut for each ID you want available right now.
Remove outdated: when you know an ID should be removed (e.g., expired event), call AppShortcutsRemoveShortcut(shortcutIdToRemove).
AppShortcutsRemoveShortcut(shortcutIdToRemove)
Add failure → AppShortcutsGetAddShortcutError
Remove failure → AppShortcutsGetRemoveShortcutError
Adding with the same shortcutId updates/replaces the existing shortcut.
shortcutId
Apply policy changes during safe moments (main menu, after a level, etc.).
Last updated 1 month ago