The app's registry id — notes, settings. Not its display name.
Required, and it is what stops Back reaching a backgrounded app. Apps are resident,
so this ladder stays registered while the app sits hidden; without an owner the
dispatcher would hand back to whichever app registered last rather than the one on
screen. The app names itself for the same reason it does in onAppForeground: the
shell has no way to hand a component its own registry id.
levels
levels:AppLevel[]
Deepest first. Back closes the first one that is open.
Optionalonback
onback?:()=>void
Where back goes once every level is closed. The shell's onback prop.
title
title:string| (()=>string)
Title when nothing is open — the app's own name, usually.
The app's registry id —
notes,settings. Not its display name.Required, and it is what stops Back reaching a backgrounded app. Apps are resident, so this ladder stays registered while the app sits hidden; without an owner the dispatcher would hand
backto whichever app registered last rather than the one on screen. The app names itself for the same reason it does inonAppForeground: the shell has no way to hand a component its own registry id.