onAction property
Optional host override for engage navigation actions — open URL / deep
link (LinkAction, with their target). Inspect it + the
EngageActionContext and return true to handle the link yourself (the
SDK then skips opening it); return false/null to let the default run.
Hide/share are always handled by the SDK and never reach this hook.
Mirrors React Native's onAction.
Implementation
final EngageActionInterceptor? onAction;