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

Add apple-app-site-association file for iOS universal links #1386

Closed
ktprograms opened this issue Apr 25, 2022 · 3 comments
Closed

Add apple-app-site-association file for iOS universal links #1386

ktprograms opened this issue Apr 25, 2022 · 3 comments
Assignees

Comments

@ktprograms
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In order for iOS to open https:// links in-app, the website needs a apple-app-site-association file in the .well-known directory.

Describe the solution you'd like
Add a file with the following content to be served at .well-known/apple-app-site-association:

{
	"applinks": {
		"details": [
			{
				"appIDs": [
					"7G9P9AM955.com.odysee.Odysee"
				],
				"components": [
					{
						"/": "/*",
						"comment": "Matches all URLs that are not just / (All files/channels)"
					}
				]
			}
		]
	}
}

(I think the App ID is correct, I got it from the development team setting in Xcode)

Describe alternatives you've considered
N/A

Additional context
Issue: OdyseeTeam/odysee-ios#277
Documentation: https://developer.apple.com/documentation/Xcode/supporting-associated-domains

@akinwale Pinging you since this is related to the iOS side as well, hope that's okay with you.

@tzarebczan tzarebczan self-assigned this Apr 26, 2022
@tzarebczan
Copy link
Contributor

it should be up at https://odysee.com/.well-known/apple-app-site-association after the site rebuilds (For some reason, pointing to the android file that's there under https://odysee.com/.well-known/assetlinks.json

@tzarebczan
Copy link
Contributor

(there's some strange bug where it's always resolving the first file it sees, @infinite-persistence going to take a first shot at it).

@tzarebczan
Copy link
Contributor

This is working now, thank you KP!

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

2 participants