Skip to content

https:// -- how to macOS #17

Open
Open
@boeledi

Description

@boeledi

Hello,

Would it be possible to have fully working sample for universal link for macOS?

I made the same configuration as for iOS (no changes in the Info.plist, added the following to both "DebugProfile"/"Release".entitlements:

<key>com.apple.developer.associated-domains</key>
<array>
  <string>applinks:my.website.com</string>
</array>

Updated the /.well-known/apple-app-site-association

{
   "applinks": {
       "apps": [],
       "details": [
           {
               "appID": "TEAMID.BUNDLE_ID",
               "paths": ["/myapp", "/login"]
           }
       ]
   }
}

launched the application.
Then ran the command:

open "https://my.website.com/myapp" 

And a browser opened...

Many thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions