◉RORK LABJP
●ARCHIVE — Since 11/22 you can archive a Rork project instead of deleting it, and bring it back from Archived●PLAY FIX — Fixed: Expo apps built for Google Play losing their Rork AI key, which broke AI features●SONNET 4.5 — Sonnet 4.5 retires from the Claude API on 11/30, 7 days left. Check which model your app calls●SPLASH — Expo users report apps stuck on the splash screen after rolling back to an earlier update●NEW — New: Three clues to check before replying to a "stuck on the splash screen" review●2.5 ROUTE — From 12/1, Gemini 2.5 requests reroute to newer models at new rates. 8 days left●ARCHIVE — Since 11/22 you can archive a Rork project instead of deleting it, and bring it back from Archived●PLAY FIX — Fixed: Expo apps built for Google Play losing their Rork AI key, which broke AI features●SONNET 4.5 — Sonnet 4.5 retires from the Claude API on 11/30, 7 days left. Check which model your app calls●SPLASH — Expo users report apps stuck on the splash screen after rolling back to an earlier update●NEW — New: Three clues to check before replying to a "stuck on the splash screen" review●2.5 ROUTE — From 12/1, Gemini 2.5 requests reroute to newer models at new rates. 8 days left
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.

Rork621Expo237quick actionsdeep linkingindie developer53

✦ 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-05-23
Auditing Privacy Manifests for Rork-Generated Expo Apps — A One-Day Pre-Submission Workflow for Indie Developers
A pre-submission workflow for indie developers shipping Rork-generated Expo apps: enumerate every dependency, tell ITMS-91053 apart from ITMS-91061, and catch the Pods that npm names never show you — hermes included.
⬡ Dev Tools2026-11-19
New Wallpapers Showed Up Everywhere Except the Filters: Ship the Count and the Category Lists Together
I added 67 wallpapers in one batch. They appeared in the full list and in New, but not under a single category filter, because I had raised the ID limit and forgotten to ship the category lists. Here is a pre-bump check, a client-side way to spot silent fallbacks in an Expo app, and a post-release count against the origin.
⬡ Dev Tools2026-10-30
It runs in development but the iOS Release build dies on launch — checking whether a missing scheme is the cause
In an expo-router app, an app.json with no scheme can crash only the iOS Release build at launch. Why Debug and Android survive, the two ways to fix it, how to think about leaving the scheme out on purpose, and a pre-submission check.