版本 | 发布日期 | 备注 |
---|---|---|
3.2.0 | 2025-03-24 |
|
3.1.0 | 2024-10-30 |
|
3.0.0 | 2024-07-11 |
|
2.2.0 | 2024-01-24 |
|
2.1.0 | 2023-07-24 |
此版本引入了多个新 API,以简化意见征求流程。现有集成无需采用这些新 API。
|
2.0.0 | 2021-07-12 |
|
1.0.0 | 2020-07-07 |
|
版本说明
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-16。
[[["易于理解","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-07-16。"],[[["Google User Messaging Platform (UMP) SDK 3.0.0 increased the minimum Android API level and includes improvements to privacy message rendering and an official release for the ads personalization controls message."],["Version 2.2.0 of the UMP SDK removed all use of Advertising ID and enabled automatic recognition of emulators as test devices for UMP forms."],["UMP SDK 2.1.0 introduced new APIs to simplify consent gathering, including helper methods to request and display consent forms, and added privacy options functionality."],["With version 2.0.0, the `ConsentInformation.ConsentType` IntDef and the corresponding `getConsentType()` method were removed from the UMP SDK."],["UMP SDK 1.0.0 marked the general audience release of the Google User Messaging Platform SDK."]]],["The content outlines updates to the Google UMP SDK across multiple versions. Key actions include adding options for regulated US state testing (`DEBUG_GEOGRAPHY_REGULATED_US_STATE`), deprecating `DEBUG_GEOGRAPHY_NOT_EEA`, and increasing the minimum Android API level to 21. It emphasizes the requirement to call `requestConsentInfoUpdate()` before using other APIs. The updates also involve removing Advertising ID usage, improving privacy message rendering, introducing `PrivacyOptionsRequirementStatus`, and adding methods like `loadAndShowConsentFormIfRequired()`. Emulators are now automatically recognized as test devices.\n"]]