Skip to content

Serve the app-association files for Pulse links - #1

Merged
morepriyam merged 3 commits into
mainfrom
pulse-app-links
Oct 12, 2026
Merged

morepriyam merged 3 commits into
mainfrom
pulse-app-links

Conversation

@morepriyam

Copy link
Copy Markdown
Collaborator

Part of mieweb/pulse#252.

Publishes the two files phones read before letting https://mieweb.github.io/... links open an app. They have to be at the domain root, which only this repo can serve.

What changes

  • .well-known/apple-app-site-association: iOS opens Pulse (X5873NL7XM.com.mieweb.pulse) for /pulse/open* (pairing links) and /pulse/watch* (watch links, later).
  • .well-known/assetlinks.json: Android verifies Pulse (com.mieweb.pulse) signed with its Google Play app-signing key (store installs) or its upload key (CI builds installed directly). Both fingerprints were read from the Play Console's App signing page; the upload key was also checked against the local upload certificate.
  • .nojekyll, so .well-known/ is published.
  • README: what the files are for, the never-set-a-custom-domain rule, and the commands that check them.

The /pulse/open page itself comes from mieweb/pulse's own Pages site (pages/), not from here.

Testing

The same AASA, the same page, and the same app code were run on a test host (morepriyam.github.io, a user site like this one) on an iPhone: Apple's CDN served GitHub's file, Camera QR opened Pulse straight into pairing, and the not-installed path went through the page to the App Store and paired on first launch. Not run on this host yet: it isn't published until this merges. Android has not been run on either host.

Debug-signed Android builds are left out on purpose: the React Native template's debug keystore is identical in every project, so listing it would let any app signed with it claim these links.

After merge

  • Pages is set to deploy from main / root (branch deploy, as on the test host).
  • Check https://app-site-association.cdn-apple.com/a/v1/mieweb.github.io shows the Pulse entry (Apple's CDN can take a while).

.well-known/apple-app-site-association and assetlinks.json at the domain
root, so https://mieweb.github.io/pulse/open (pairing) and /pulse/watch
links open Pulse on iOS and Android. .nojekyll keeps .well-known published.
Android lists Pulse's Play app-signing and upload keys only.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Association metadata is structurally valid, with only a non-blocking documentation overstatement noted.

1 open finding
What changed in this PR

Publishes iOS and Android association metadata so Pulse links can open the mobile app.

Changes:

  • Adds AASA and Digital Asset Links files.
  • Enables .well-known publication.
  • Documents deployment rules and verification commands.
File Description
.well-known/​apple-app-site-association Associates Pulse with iOS link paths.
.well-known/​assetlinks.json Associates Pulse Android signing certificates.
.nojekyll Preserves .well-known during publication.
README.md Documents hosting and verification.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md Resolved
Copilot AI balanced review requested due to automatic review settings October 12, 2026 15:56
@morepriyam
morepriyam merged commit a312ff5 into main Oct 12, 2026
@morepriyam
morepriyam deleted the pulse-app-links branch October 12, 2026 16:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The README contains inaccurate custom-domain guidance and omits verification commands promised by the PR description.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 12, 2026 16:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The security-sensitive certificate fingerprints require human verification, and Android link verification remains untested.

0 open findings

🧠 Review effort: Balanced

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.

2 participants