VibeFast
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.ts is a singleton that talks to apps/native/src/core/quick-actions/quick-actions-adapter.ts (which wraps Platform-specific APIs such as Expo Shortcut or native quick actions).
  • The manager stores DEFAULT_QUICK_ACTIONS and FEATURE_QUICK_ACTIONS configurations, 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_ACTIONS in apps/native/src/features/quick-actions/config/default-actions.ts to add new shortcuts or change their routing.
  • Use the manager’s addAction, removeAction, and resetToDefaults helpers anywhere in your app (e.g., onboarding, settings, or voice commands).
  • The hook useCurrentQuickAction lets 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

On this page