feat(companion): add Universal Links for iOS and Android#2575
Draft
carlosvirreira wants to merge 1 commit into
Draft
feat(companion): add Universal Links for iOS and Android#2575carlosvirreira wants to merge 1 commit into
carlosvirreira wants to merge 1 commit into
Conversation
iOS Configuration: - Add associatedDomains to app.json for applinks:app.shelf.nu Android Configuration: - Add intentFilters with autoVerify for https://app.shelf.nu Webapp Routes: - Create .well-known/apple-app-site-association (Team ID: 27Q4MHFB8K) - Create .well-known/assetlinks.json (SHA256 from EAS production keystore) Links that will open in the app: - https://app.shelf.nu/qr/* - https://app.shelf.nu/assets/* - https://app.shelf.nu/bookings/* Deployment notes: - Deploy webapp first to make .well-known routes live - Rebuild native apps with eas build to embed new config - iOS caches AASA for ~24h, test with fresh install
🩺 React Doctor✅ No new findings on the files changed by this PR. Run locally with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable Universal Links so
https://app.shelf.nuURLs open in the Shelf Companion app instead of Safari/Chrome.Changes
iOS (
app.json)associatedDomains: ["applinks:app.shelf.nu"]Android (
app.json)intentFilterswithautoVerify: trueforhttps://app.shelf.nuWebapp
/.well-known/apple-app-site-associationroute (Team ID:27Q4MHFB8K)/.well-known/assetlinks.jsonroute (SHA256:DB:55:17:D9...)URLs that will open in app
https://app.shelf.nu/qr/*https://app.shelf.nu/assets/*https://app.shelf.nu/bookings/*Signing Key Stability
DB:55:17:D9...) is tied to your EAS production keystoreassetlinks.jsonor Android App Links will silently failCaching
.well-knownroutes return errors after deploy, recovery takes a dayDeployment Sequence
.well-knownroutes live)eas buildTest plan
https://staging.app.shelf.nu/.well-known/apple-app-site-associationreturns JSONhttps://staging.app.shelf.nu/.well-known/assetlinks.jsonreturns JSONhttps://app.shelf.nu/qr/xxxlink → should open in app