Repository navigation
Description
Problem
Deep link support is inconsistent across platforms, domains, and web pages. Several routes work on one platform but are missing or broken on others.
1. try.omi.me missing most routes (Android)
AndroidManifest.xml only registers try.omi.me for /apps/*. All other routes are missing:
| Route | h.omi.me |
try.omi.me |
|---|---|---|
/apps/* |
Yes | Yes |
/unlimited |
Yes | No |
/wrapped |
No | No |
/tasks/* (PR #4737) |
Yes | No |
2. /wrapped web page has no "Open in App" deep link
web/frontend/src/app/wrapped/page.tsx only has "Get the Omi App" (app store link). No omi:// deep link or "Open in Omi" button, despite both AASA and AndroidManifest supporting /wrapped. Compare with /unlimited which has a deep link CTA.
3. /unlimited web page uses omi:// without intent:// fallback
web/frontend/src/app/unlimited/page.tsx:30:
const deepLink = 'omi://h.omi.me/unlimited';On Android, if the app is not installed, omi:// goes nowhere silently. Should use intent:// with browser fallback:
intent://h.omi.me/unlimited#Intent;scheme=omi;package=com.friend.ios;S.browser_fallback_url=https://play.google.com/store/apps/details?id=com.friend.ios;end
PR #4737's task share page does this correctly — pattern should be applied to all web deep link pages.
4. AASA may not be served from try.omi.me
apple-app-site-association exists at web/frontend/public/.well-known/ (h.omi.me). If try.omi.me is hosted separately, iOS Universal Links won't work for that domain.
5. /wrapped missing from Android intent filters
No intent filter for h.omi.me/wrapped in AndroidManifest.xml, despite being in AASA and handled in app_shell.dart. Android users opening h.omi.me/wrapped get the browser, not the app.
Files to change
| File | Change |
|---|---|
AndroidManifest.xml |
Add try.omi.me intent filters for /unlimited, /wrapped, /tasks/* |
AndroidManifest.xml |
Add h.omi.me/wrapped intent filter |
wrapped/page.tsx |
Add "Open in Omi" deep link CTA (match /unlimited pattern) |
unlimited/page.tsx |
Add intent:// fallback for Android |
try.omi.me hosting |
Verify AASA is served (or add it) |
Context
Found during deep link audit of PR #4737. Credit: @kenji's audit.
Sub-issue of #4724.
Activity