Skip to content

feat(android): app-icon long-press shortcuts (Give / Ask / Chats)#757

Closed
edwh wants to merge 2 commits into
masterfrom
feat/android-app-shortcuts
Closed

feat(android): app-icon long-press shortcuts (Give / Ask / Chats)#757
edwh wants to merge 2 commits into
masterfrom
feat/android-app-shortcuts

Conversation

@edwh

@edwh edwh commented Jun 14, 2026

Copy link
Copy Markdown
Member

Long-press the Freegle launcher icon → Give, Ask, My Chats. Each fires a https://www.ilovefreegle.org/<path> VIEW intent that the existing deep-link filter + appUrlOpen route to /give / /find / /chats — no new native code. (iOS shortcuts + share-into-Freegle are separate follow-ups.)

🤖 Generated with Claude Code

Adds static Android app shortcuts: long-press the launcher icon → Give,
Ask, or My Chats. Each launches MainActivity with a
https://www.ilovefreegle.org/<path> VIEW intent, which the existing
deep-link intent-filter + the appUrlOpen handler (stores/mobile.js) route
to /give, /find, /chats. No new native code.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@netlify

netlify Bot commented Jun 14, 2026

Copy link
Copy Markdown

Deploy Preview for golden-caramel-d2c3a7 ready!

Name Link
🔨 Latest commit 744f792
🔍 Latest deploy log https://app.netlify.com/projects/golden-caramel-d2c3a7/deploys/6a2f09db21cf5f0009df6f22
😎 Deploy Preview https://deploy-preview-757--golden-caramel-d2c3a7.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@FreegleGeeks FreegleGeeks added the CI: Running CI build is currently running label Jun 14, 2026
UIApplicationShortcutItems in Info.plist + a performActionFor handler in
AppDelegate that maps each shortcut to a https://www.ilovefreegle.org/<path>
URL and routes it through the same ApplicationDelegateProxy pipeline as a
deep link, so appUrlOpen (stores/mobile.js) navigates to /give, /find, /chats.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@edwh

edwh commented Jun 16, 2026

Copy link
Copy Markdown
Member Author

Superseded by #766, which consolidates the native-app feature PRs (#756 haptics, #757 app-icon shortcuts, #758 share-into-Freegle Android, #759 share-into-Freegle iOS) into a single PR rebased onto current master. Branch kept (not deleted) in case it's needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: Passed CI build passed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants