应用内搜索 Android SDK 版本说明
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
0.4.3 - 2025 年 4 月 10 日
- 修复了有时打开 Chrome 自定义标签页会导致应用崩溃的 bug。
0.4.2 - 2025 年 3 月 6 日
- 修复了以下 bug:搭载 Android 24 的设备因找不到类“java.util.Optional”而崩溃。
- 支持在获取搜索内容界面视图时设置文本上下文。
- 废弃了获取搜索重复界面视图的功能。
0.4.1 - 2024 年 11 月 21 日
- 修复了 gRPC ManagedChannel 未正确关闭的问题。
0.4.0 - 2024 年 10 月 31 日
- 支持搜索重复界面视图。
- 支持多个客户端 ID。
- 支持组件点击操作通知。
0.3.1 - 2024 年 7 月 22 日
0.3.0 - 2024 年 6 月 24 日
- 支持获取基于位置的搜索建议。
- 支持在搜索建议条状标签上呈现图标。
- 将最低 SDK 版本从 23 降级到 21。
- 修复了以下 bug:从右到左方向下的搜索建议条状标签的水平内边距与从左到右方向下的内边距不一致。
- 修复了以下 bug:启用 Proguard/R8 来缩减应用代码后,SDK 在与后端通信时会报告“NoSuchMethodException”错误。
0.2.0 - 2024 年 2 月 13 日
- 支持获取搜索建议界面视图。
- 支持获取热搜字词推荐界面视图。
- 废弃了获取搜索建议数据的功能。
- 弃用获取热搜字词数据的功能。
- 弃用通过传递搜索建议或热搜数据来显示搜索结果页的做法。
0.1.0 - 2023 年 10 月 3 日
- 首次公开发布。
- 支持从文本中获取搜索建议。
- 支持获取热搜字词。
- 支持根据搜索建议或热搜索字词显示搜索结果页。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-04-10。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-04-10。"],[[["The latest release (0.4.1) focuses on fixing a gRPC ManagedChannel shutdown issue, ensuring more stable communication."],["Version 0.4.0 introduced features for improved search interactions, including UI repeat view, multiple client ID support, and click action notifications."],["Earlier updates, like 0.3.0 and 0.2.0, focused on refining search suggestions and trending searches, with UI enhancements and bug fixes."],["The initial release (0.1.0) provided core functionalities like fetching search suggestions, trending searches, and displaying search results."],["The library has undergone continuous improvements, including expanding search capabilities, enhancing UI elements, and addressing platform compatibility."]]],["The updates include fixing a gRPC ManagedChannel shutdown issue, supporting search repeat UI view, multiple client IDs, and component click action notifications. The ability to accept API keys with Android application restrictions was added. Location-based search suggestions and icon rendering on suggestion chips were implemented. The minimum SDK version was downgraded, and bugs related to padding and code shrinking were fixed. Search suggestions and trending UI views were supported while their data fetching was deprecated. The initial release focused on retrieving search suggestions, trending searches, and displaying search results.\n"]]