Skip to content

Update apple-app-site-association/Universal Links on linear.app tld to include macos in addition to ios #1188

Description

@chrisbergeron

In macos, when a user clicks a Linear URI with the https scheme, they are directed to a browser Linear session.

Correct behavior on macos would be to open the local macos Linear app instead.

To fix this, update the file:
https://linear.app/.well-known/apple-app-site-association

to include appIDs for the Linear macos app container:

                "appIDs": [ "XN94N9AMD4.com.openai.chat.enterprise", "2DC432GLL2.com.openai.chat" ],
                "components": [
                    {
                        "#": "no_universal_links",
                        "exclude": true,
                        "comment": "Matches any URL with a fragment that equals no_universal_links and instructs the system not to open it as a universal link."
                    },
                    {
                        "/": "/share/*",
                        "comment": "Matches shared links."
                    },
                    {

This will enable links like https://linear.app/whatever to open in the local macos Linear app.

To reproduce in macos:

open "https://linear.app/whatever"

The default browser will open to the Linear web app.

Desired behavior:

open "https://linear.app/whatever"

Will open the local Linear instance (and save you guys a bit of money in hosting costs, since user will be using local copy instead of served web content).

A good example can be found by looking at chatgpt.com's file and trying the same behavior.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions