RORK LABJP
FUNDING — Rork raises a $15M seed led by Left Lane CapitalRORK MAX — Rork Max generates native Swift apps instead of React NativePLATFORM — It targets iPhone, iPad, Watch, and Vision Pro, reaching Live Activities and Core MLGROWTH — Traffic keeps climbing at 743K monthly visits and 85% growthTEST — The Companion app lets you test on a real device without a paid Apple Developer accountSTACK — Built on React Native and Expo for true native experiences, not web wrappersFUNDING — Rork raises a $15M seed led by Left Lane CapitalRORK MAX — Rork Max generates native Swift apps instead of React NativePLATFORM — It targets iPhone, iPad, Watch, and Vision Pro, reaching Live Activities and Core MLGROWTH — Traffic keeps climbing at 743K monthly visits and 85% growthTEST — The Companion app lets you test on a real device without a paid Apple Developer accountSTACK — Built on React Native and Expo for true native experiences, not web wrappers
Articles/Dev Tools
Dev Tools/2026-06-30Advanced

Adding Home-Screen Quick Actions to a Rork App — dynamic items without cold-launch drops

How to implement the long-press quick actions on a Rork (Expo) app icon. Covers static vs dynamic items, the iOS/Android differences, and the cold-launch problem where the action arrives before the router is ready — solved with a hold-and-replay design.

Rork480Expo127quick actionsdeep linking2indie developer35

Premium Article

Long-press an app icon on the Home Screen and a menu opens beneath it: "New Entry," "Resume." These are quick actions (iOS Home Screen Quick Actions, Android App Shortcuts). They shorten a frequently used operation into a single move before opening the app — modest, but effective.

When I added this to a logging app I run as an indie developer, my first implementation behaved like this: "choosing New Entry from the icon just opens the Home Screen." When you pick an item while the app isn't running (a cold launch), the action's information arrives before the app's router — the navigation machinery — has come up, so it vanished with no one to receive it. Preventing that drop is the real body of quick-action design.

Walk through the steps first

Before the detailed code, here's the sequence to getting this into production.

  1. Sort items into static (always shown, like New Entry) and dynamic (state-dependent, like Resume)
  2. Set up a shared registration point for iOS and Android with expo-quick-actions
  3. Build a receiving side that holds the cold-launch initial action and replays it after the router is ready
  4. Suppress duplicate firing between the initial action and the listener using an ID
  5. Clean up dynamic items to follow logout and data deletion

Of these five, step 3 is where you stumble. I underestimated it and spent a full day solving the drop. The rest goes together smoothly.

Static vs dynamic items

There are two kinds of quick actions.

  • Static items: a fixed menu baked into the app build. They appear even if the app has never been launched
  • Dynamic items: a menu you swap in via code while the app runs. You can vary them by user state

The basic split is static for things you always want shown ("New Entry"), and dynamic for state-dependent ones ("Resume X"). In my case I settled on showing only the static "New Entry" when signed out, and adding "Resume last entry" dynamically after login.

iOS displays up to 4 items. Android, too, is best kept to about 4 in practice. Registering more just hides them below where they won't be tapped, so narrowing to what's truly used works better.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
You'll be able to implement iOS UIApplicationShortcutItem and Android App Shortcuts through a single expo-quick-actions API
You'll solve the cold-launch problem where an action arrives before navigation is ready and vanishes, with a hold-then-replay design and working code
You'll learn dynamic updates that vary items by login state, plus the cleanup judgment that avoids leaving stale items behind
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Dev Tools2026-06-28
Ship EAS Updates to a Few First, and Halt Automatically on Crash Rate
Because OTA updates reach everyone instantly, a bad update reaches everyone instantly too. Here is a three-layer design: ship EAS Update to a small canary, decide expand-or-halt from crash-free rate automatically, and hold a safety net on the device — with working code.
Dev Tools2026-06-28
Build Your Settings Screen From One Schema and Reuse It Across Apps
Hand-building a settings screen per app falls apart as your app count grows. Here is a schema-driven design that assembles the screen from declarative data and shares a common base across multiple apps, with working code.
Dev Tools2026-06-18
Retrofitting Offline-First Into a Rork App: Persistent Cache and a Write Queue
Reviews kept saying the app was blank on the subway. Polishing error screens was not enough, so I retrofitted TanStack Query persistence and an offline write queue into a Rork-generated Expo app. Optimistic updates, reconnect flushing, and keeping the layer safe from regeneration are all covered with code.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →