Fix Android App Link verification intent
This commit is contained in:
parent
f3b5e63222
commit
9405e00baa
|
|
@ -2096,6 +2096,15 @@ promoted.
|
||||||
certificate, with `whoneedhelp.com` in Android's verified domain state. Its
|
certificate, with `whoneedhelp.com` in Android's verified domain state. Its
|
||||||
installer is absent, so this is explicitly a sideloaded-build observation
|
installer is absent, so this is explicitly a sideloaded-build observation
|
||||||
and not Play-delivered evidence.
|
and not Play-delivered evidence.
|
||||||
|
- A read-only installed-build verifier now requires the exact expected version,
|
||||||
|
`com.android.vending` installer, a supplied Play App Signing SHA-256 identity,
|
||||||
|
verified `whoneedhelp.com` domain state, and production App Link resolution to
|
||||||
|
`MainActivity`. The physical device confirmed that Android resolves the link
|
||||||
|
to `MainActivity` when both the `DEFAULT` and `BROWSABLE` intent categories
|
||||||
|
are supplied. A regression gate rejects an incomplete category set,
|
||||||
|
sideloaded installer, upload-only certificate, unverified domain, or browser
|
||||||
|
resolution. The current sideloaded package therefore intentionally cannot
|
||||||
|
satisfy the Play-delivery gate.
|
||||||
- The already-authenticated Chrome dev-port instance exposed two Play Console
|
- The already-authenticated Chrome dev-port instance exposed two Play Console
|
||||||
pages, including the Who Need Help internal-release preparation page.
|
pages, including the Who Need Help internal-release preparation page.
|
||||||
Playwright connected to its DevTools WebSocket but could not import the 94
|
Playwright connected to its DevTools WebSocket but could not import the 94
|
||||||
|
|
|
||||||
|
|
@ -564,6 +564,11 @@ REPORT
|
||||||
REPORT
|
REPORT
|
||||||
;;
|
;;
|
||||||
"shell cmd package")
|
"shell cmd package")
|
||||||
|
if [[ " $* " != *" -c android.intent.category.DEFAULT "* ]] ||
|
||||||
|
[[ " $* " != *" -c android.intent.category.BROWSABLE "* ]]; then
|
||||||
|
echo "App Link resolution omitted a required intent category." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
printf '%s\n' "${FAKE_PLAY_ACTIVITY:-org.whoneedhelp.mobile/.MainActivity}"
|
printf '%s\n' "${FAKE_PLAY_ACTIVITY:-org.whoneedhelp.mobile/.MainActivity}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
||||||
|
|
@ -167,6 +167,7 @@ fi
|
||||||
resolved_activity=$(
|
resolved_activity=$(
|
||||||
adb_device shell cmd package resolve-activity --brief \
|
adb_device shell cmd package resolve-activity --brief \
|
||||||
-a android.intent.action.VIEW \
|
-a android.intent.action.VIEW \
|
||||||
|
-c android.intent.category.DEFAULT \
|
||||||
-c android.intent.category.BROWSABLE \
|
-c android.intent.category.BROWSABLE \
|
||||||
-d "$app_link_url" |
|
-d "$app_link_url" |
|
||||||
tr -d '\r'
|
tr -d '\r'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user