Questions
iOS Universal Link opens app but loses deep-link path on cold start
yesterday by Belen
Podés pegarlo, pero yo lo haría un poco más minimalista porque el portal es público.
No es sensible compartir:
- buenadataar.com
- com.buenadataar.app
- que All pages on my domain = Internal
- que el AASA existe
- que el link abre la app pero pierde la ruta
- la captura del panel mostrando / → /home
El Team ID tampoco es una contraseña, pero como no hace falta para explicar el bug, yo directamente lo sacaría. Y obviamente no publiques nunca API keys, private keys .p8, tokens, secretos de Supabase, etc.
Pegaría esto:
iOS Universal Link opens the app but cold start loses the deep-link path
Hi! I’m using Median for an iOS app with: - Website URL: https://buenadataar.com
- Universal Links domain: buenadataar.com
- “All pages on my domain” configured as Internal
- Associated Domains enabled in Apple Developer
- AASA hosted successfully at https://buenadataar.com/.well-known/apple-app-site-association
- Bundle ID: com.buenadataar.app
Universal Links partially work: tapping a link such as:
https://buenadataar.com/lugar/ - Tapped URL: /lugar/
- Initial URL received by the web app: https://buenadataar.com/
- Initial pathname: /
- The app then redirects normally to /home
So the Universal Link launches the native app, but the deep-link path is not passed to the WebView on cold start.
Median documentation suggests that cold-start deep links should directly load the target URL, while Median.jsNavigation.url.addListener(...) is for app resume/background cases.
Is there an additional App Studio configuration required so the full Universal Link URL is loaded into the WebView on cold start?