Skip to content

Let a browser hand a geo link to the app - #107

Merged
octopranav merged 1 commit into
mainfrom
geo-browsable
Oct 4, 2026
Merged

octopranav merged 1 commit into
mainfrom
geo-browsable

Conversation

@octopranav

Copy link
Copy Markdown
Owner

Play Console's Deep links page reports geo:// as not working: "BROWSABLE category attribute failed". The geo filter had VIEW and DEFAULT but not BROWSABLE, so another app's "open location" reached the app while a geo link tapped in a web page did not. A browser offers only activities that say they are browsable.

  • Manifest: the geo filter gains android.intent.category.BROWSABLE. The site's verified https filter already had it.
  • Test: ArrivalTest.aBrowserCanHandEachLinkToTheApp asks the package manager what a browser would reach for the site's link and for a geo URI. The existing arrival tests name the activity, so none of them touched the filters. Against the old manifest it fails on the geo link (expected [MainActivity] but was []); with the fix, all 13 arrival tests pass on the gpc36 emulator (API 36).
  • Version code: the phone goes from 1 to 2, since Play already holds 1. The version name stays 0.1.0; the watch and car bundles are unchanged.

lintDebug and audit/assetlinks.py pass.

The geo filter had no BROWSABLE category, so another app's "open location"
reached the app but a geo link tapped in a web page did not: a browser offers
only activities that say they are browsable. Play Console's deep link check
reported it as a broken link for the same reason.

ArrivalTest's launches name the activity, so none of them touched the
filters. A new test asks the package manager what a browser would reach for
each link the app takes, the site's and a geo URI. Against the old manifest
it fails on the geo link with an empty list; with the category it passes,
with the other twelve arrival tests.

The phone's version code goes to 2, since Play already holds 1.
@octopranav
octopranav merged commit 51008d1 into main Oct 4, 2026
43 of 44 checks passed
@octopranav
octopranav deleted the geo-browsable branch October 4, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant