Skip to content

Conversation

@sfshaza2
Copy link
Contributor

Fixes #12362. Updates 'Set up universal links' to use the modern 'components' field in AASA JSON and instructions, while retaining 'paths' for legacy support.

@sfshaza2 sfshaza2 requested a review from a team as a code owner January 23, 2026 18:21
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @sfshaza2, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request modernizes the documentation for configuring Apple App Site Association (AASA) files, specifically for setting up universal links. It updates the recommended approach to utilize the 'components' field for defining URL patterns, which is suitable for iOS 13 and later, while also providing clear guidance on how to maintain support for older iOS versions by retaining the 'paths' field.

Highlights

  • AASA File Update: The documentation for Apple App Site Association (AASA) files has been updated to reflect modern practices.
  • Modern 'components' field: The AASA JSON example and instructions now primarily recommend using the 'components' field for configuring universal links, especially for iOS 13 and later.
  • Legacy 'paths' support: The documentation clarifies that the 'paths' field should still be included for backward compatibility with iOS 12 and earlier, and that both 'components' and 'paths' can coexist.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the universal links setup guide for iOS to use the modern components field in the apple-app-site-association file, replacing the legacy paths field in the main example. The changes also correct an invalid pattern in the components example. The instructions are updated to explain the components field and how to use paths for backward compatibility. I've suggested re-including the paths field in the main JSON example to provide a more robust, backward-compatible default for users, as many will likely need to support older iOS versions.

Comment on lines 213 to 217
"components": [
{
"/": "/*"
"/": "*"
}
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better backward compatibility out of the box, I suggest re-adding the paths field to this example. While components is the modern approach, many developers still need to support older iOS versions. Providing an example that works for both modern and legacy versions by default is safer for users who might copy-paste the code without reading the instructions in detail. The accompanying text already does a great job explaining the purpose of each field, and this change would make the code example more robust.

Suggested change
"components": [
{
"/": "/*"
"/": "*"
}
]
"paths": [
"*"
],
"components": [
{
"/": "*"
}
]

@sfshaza2 sfshaza2 requested a review from camsim99 January 23, 2026 18:23
@flutter-website-bot
Copy link
Collaborator

Visit the preview URL for this PR (updated for commit 74ec4c3):

https://flutter-docs-prod--pr12978-fix-issue-12362-aasa-docs-5a7pw3zq.web.app

@camsim99
Copy link
Contributor

@jmagman can someone on the iOS team take a look at this?

@camsim99 camsim99 removed their request for review January 26, 2026 15:54
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

Successfully merging this pull request may close these issues.

[docs] iOS deeplink apple-app-site-association file content is different from referenced Apple documentation and misleading

3 participants