Skip to content

Deep linking — Android App Links for nizkhata.web.app - #58

Merged
TheCoderAS merged 1 commit into
mainfrom
claude/android-deeplinks
Aug 11, 2026
Merged

Deep linking — Android App Links for nizkhata.web.app#58
TheCoderAS merged 1 commit into
mainfrom
claude/android-deeplinks

Conversation

@TheCoderAS

Copy link
Copy Markdown
Owner

Verified Android App Links: tapping a https://nizkhata.web.app/... link opens the native app and routes to the matching screen.

Three pieces

1. Domain ownership — hosts /.well-known/assetlinks.json on nizkhata.web.app with the release cert SHA-256 for com.nizkhata.nizkhata. Served via a Firebase Hosting rewrite to a non-dot file, because firebase.json's ignore: ["**/.*"] would otherwise skip the .well-known dot-folder. Deploys automatically via deploy.yml on merge to main.

2. App declaration — the android-apk.yml manifest patch now injects an autoVerify App Links intent-filter for https://nizkhata.web.app plus flutter_deeplinking_enabled, so go_router receives the incoming path. (Validated the injection against a sample manifest.)

3. Routing — the app router maps web paths to native routes (the web nests under /settings/*, e.g. /settings/accounts/accounts, /settings/workspace/workspace-settings) and falls back to Dashboard for anything unmatched or auth-gated.

Version → 1.0.10+11. flutter analyze: 0 errors.

Verification (can't be done from CI)

Android verifies App Links at install time against the live assetlinks.json, and "tap link → app opens" needs a real device. After this merges (web deploys the file) and you install the v1.0.10 APK, links should open the app. To check verification on-device: adb shell pm get-app-links com.nizkhata.nizkhata should show nizkhata.web.app: verified.

🤖 Generated with Claude Code

https://claude.ai/code/session_016jkAcgzuuxTfBiAgMLWgC4


Generated by Claude Code

- Web: host /.well-known/assetlinks.json (via a Hosting rewrite to a non-dot file so Firebase's dotfile ignore doesn't skip it) with the release cert SHA-256 for package com.nizkhata.nizkhata
- App manifest (CI patch): autoVerify App Links intent-filter for https://nizkhata.web.app + flutter_deeplinking_enabled so go_router receives the path
- Router: map web-app paths (/settings/*, /) to native routes and fall back to /dashboard for anything unmatched
- Bump version to 1.0.10+11

Deploys via deploy.yml on merge to main (publishes assetlinks.json); the versioned APK carries the intent-filter. Verification is performed by Android at install against the live assetlinks.json.
@TheCoderAS
TheCoderAS merged commit 4fc6833 into main Aug 11, 2026
2 checks passed
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