HomePhabricator
Diffusion Comm 825ba1f0e005

[server] Update AASA file so that we prove to iOS that the domain belongs to us

Description

[server] Update AASA file so that we prove to iOS that the domain belongs to us

Summary: I had to remove trailing commas because otherwise JSON validation fails (according to https://jsonlint.com/). According to https://developer.apple.com/documentation/xcode/supporting-associated-domains the identifier consists of <Application Identifier Prefix>.<Bundle Identifier>. Expo documentation https://docs.expo.dev/guides/deep-linking/ explains that the prefix is just a Team ID which can be found at https://developer.apple.com/account. It also informs that as of iOS 13 Apple introduced a new format (with appIDs instead of appID) and suggests to use both, but the new one first.

Test Plan: I've checked if our current AASA file is served correctly by checking what https://web.comm.app/.well-known/apple-app-site-association returns. The current version from the server fails the validation at https://branch.io/resources/aasa-validator/ because the JSON isn't properly formatted. I've checked the new version by using the recommended JSON validator. Testing if the new configuration allows deep linking will be performed when the file is deployed on the server.

Reviewers: bartek, kamil

Reviewed By: bartek

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D7146

Details

Provenance
tomekAuthored on Mar 22 2023, 6:24 AM
Reviewer
bartek
Differential Revision
D7146: [server] Update AASA file so that we prove to iOS that the domain belongs to us
Parents
rCOMM56fdc906a28d: Revert "[native] Temporary changes for staff release"
Branches
Unknown
Tags
Unknown