Navigation and deep linking · senior
Universal Links, App Links and deep-link security
Universal Links (iOS) and verified App Links (Android) open your app for https URLs only after the OS checks a file on your domain (apple-app-site-association / assetlinks.json), so no other app can steal them, which makes them the safe choice for login redirects and sensitive links.
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceThe notes
What you must know
- iOS: Associated Domains entitlement applinks:example.com, plus https://example.com/.well-known/apple-app-site-association (JSON, served over HTTPS with no redirects).
- Android: an intent-filter with android:autoVerify="true", the https scheme and the BROWSABLE category, plus https://example.com/.well-known/assetlinks.json with your package name and the SHA-256 of the Play App Signing key (not only the upload key).
- Check Android verification with adb shell pm get-app-links <package>.
- Custom schemes are not owned: a malicious app can register myapp:// and receive your link. Never send tokens or auth codes through a custom scheme.
- OAuth in apps: authorization code flow + PKCE in the system browser (react-native-app-auth, expo-auth-session), not an embedded WebView and not the implicit flow. PKCE: random code_verifier; code_challenge = BASE64URL(SHA-256(code_verifier)).
- Expo Go cannot handle universal links or App Links; use a development build.
The red pen
Common traps: mistake → fix
Mistake: "Put the upload key fingerprint in assetlinks.json"
Fix: Play re-signs the app; add the app signing key's SHA-256.
Mistake: "A redirect on the AASA file is fine"
Fix: it must be served directly over HTTPS.
Mistake: "Login inside a WebView is fine"
Fix: use the system browser; WebViews can read what the user types.
Easy to hard
Questions interviewers ask, easy to hard
- What is needed so https://shop.example.com/p/42 opens the app on both platforms?
- It works on an old Android phone but not on Android 12+. Why?
- Why are custom schemes unsafe for OAuth redirects?
- Explain PKCE: code_verifier vs code_challenge.
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceYour first interview is free
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.