Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https:// -- how to macOS #17

Open
boeledi opened this issue Dec 1, 2023 · 0 comments
Open

https:// -- how to macOS #17

boeledi opened this issue Dec 1, 2023 · 0 comments

Comments

@boeledi
Copy link

boeledi commented Dec 1, 2023

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

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

No branches or pull requests

1 participant