版本 | 發布日期 | 附註 |
---|---|---|
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 |
|
版本資訊
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[[["\u003cp\u003eGoogle 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.\u003c/p\u003e\n"],["\u003cp\u003eVersion 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.\u003c/p\u003e\n"],["\u003cp\u003eUMP 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.\u003c/p\u003e\n"],["\u003cp\u003eWith version 2.0.0, the \u003ccode\u003eConsentInformation.ConsentType\u003c/code\u003e IntDef and the corresponding \u003ccode\u003egetConsentType()\u003c/code\u003e method were removed from the UMP SDK.\u003c/p\u003e\n"],["\u003cp\u003eUMP SDK 1.0.0 marked the general audience release of the Google User Messaging Platform SDK.\u003c/p\u003e\n"]]],["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"],null,[]]