Customizing Features
Quick Actions & Shortcuts
Manage hardware/software quick actions with the shared manager and Expo shortcuts.
VibeFast exposes a quick-actions system so you can register shortcuts (deep links, feature entries, AI flows) with the OS or expose an in-app floating menu.
How it works
apps/native/src/features/quick-actions/utils/quick-actions-manager.tsis a singleton that talks toapps/native/src/core/quick-actions/quick-actions-adapter.ts(which wraps Platform-specific APIs such as ExpoShortcutor native quick actions).- The manager stores
DEFAULT_QUICK_ACTIONSandFEATURE_QUICK_ACTIONSconfigurations, so features like chatbot, image generator, voice notes, and charts can expose deep links automatically. QuickActionsDemo(apps/native/src/features/quick-actions/components/quick-actions-demo.tsx) shows how to set default actions, add custom ones, and read the current list.
Customization
- Update
FEATURE_QUICK_ACTIONSinapps/native/src/features/quick-actions/config/default-actions.tsto add new shortcuts or change their routing. - Use the manager’s
addAction,removeAction, andresetToDefaultshelpers anywhere in your app (e.g., onboarding, settings, or voice commands). - The hook
useCurrentQuickActionlets you respond when the OS launches your app via a shortcut.
The system works on both platforms and is shareable between the Expo app and the Next.js web app by reusing the same routing parameters (href values reference Expo Router routes that are shared in the monorepo).
Found an issue or bug in the docs?
Help me improve! If you spot any errors, typos, or have suggestions, please let me know.
Reach out on X/Twitter @zafarbuildzz