我无法完全理解自动填充功能。Flutter 网站上的文档讨论了 IOS 所需的额外设置。
https://api.flutter.dev/flutter/material/TextField/autofillHints.html
设置您的 iOS 应用程序的关联域。
该文档讨论了将文件发布到受信任的站点上。过程本身以及将其添加到 Xcode 对我来说似乎很清楚。我的问题是这个文件到底应该是什么样子。
当然,我已经在 dart 中完全编写和配置了整个内容。它在 Android 上运行得很好。
谁能建议这个文件应该是什么样子?
"applinks": {
"details": [
{
"appIDs": [ "ABCDE12345.com.example.app", "ABCDE12345.com.example.app2" ],
"components": [
{
"#": "no_universal_links",
"exclude": true,
"comment": "Matches any URL whose fragment equals no_universal_links and instructs the system not to open it as a universal link"
},
{
"/": "/buy/*",
"comment": "Matches any URL whose path starts with /buy/"
},
{
"/": "/help/website/*",
"exclude": true,
"comment": "Matches any URL whose path starts …Run Code Online (Sandbox Code Playgroud)