Google UMP SDK
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Google User Messaging Platform SDK 可供 iOS 下載。使用
Google Mobile Ads SDK
時,請務必遵守 Google Developers 網站的服務條款。
版本 |
3.0.0 |
SHA1 總和檢查碼 |
ca6235e7138fcb1618f42b3070ade8193004be77 |
大小 |
0.2 MB |
下載 googleusermessagingplatform.zip
版本資訊
版本 |
發布日期 |
附註 |
3.0.0 |
2025-03-24 |
- 破壞性變更:
- Xcode 最低支援版本更新為 16.0。
- 更新了 Swift API 名稱,以遵循 Apple Swift
API 設計指南的命名慣例。
版本 2 |
版本 3 |
類別 |
UMPConsentForm |
ConsentForm |
UMPConsentInformation |
ConsentInformation |
UMPConsentStatus |
ConsentStatus |
UMPDebugGeography |
DebugGeography |
UMPDebugSettings |
DebugSettings |
UMPFormErrorCode |
FormErrorCode |
UMPFormStatus |
FormStatus |
UMPPrivacyOptionsRequirementStatus |
PrivacyOptionsRequirementStatus |
UMPRequestErrorCode |
RequestErrorCode |
UMPRequestParameters |
RequestParameters |
UMPVersionString |
Version |
屬性 |
sharedInstance |
shared |
tagForUnderAgeOfConsent |
isTaggedForUnderAgeOfConsent |
- 新增內部功能,可在透過「隱私權與訊息」
設定同意聲明模式支援時,呼叫 Firebase 同意聲明 API。
|
2.7.0 |
2024-10-30 |
- 為支援在受監管的美國州別進行測試,請在
UMPDebugGeography 中新增下列選項:
UMPDebugGeographyRegulatedUSState
UMPDebugGeographyOther
- 淘汰了
UMPDebugGeographyNotEEA 。請改用 UMPDebugGeographyOther 。
|
2.6.0 |
2024-09-05 |
- 同意訊息的
UIViewController 參照現在可為空值,且為選填。如果未提供檢視畫面控制器,SDK 會使用應用程式的主視窗自動查詢。
|
2.5.0 |
2024-06-26 |
- 更新
canRequestAds API,在應用程式未設定任何隱私權訊息時傳回 true 。
- 已將
-[UMPConsentForm init] 的可為空值狀態從
nullable 更新為 nonnull 。
|
2.4.0 |
2024-04-24 |
- 使用團隊 ID
EQHXZ8M8AV ,將簽署身分從 AdMob Inc. 更新為 Google LLC 。如果這會在 Xcode 中觸發通知,請選取「接受變更」接受新身分。
|
2.3.0 |
2024-03-14 |
- 開始支援隱私權資訊清單檔案。
- 更新
Info.plist ,解決 Xcode 15.3 的 Swift Package Manager 問題。
|
2.2.0 |
2024-02-20 |
- 將最低支援的 Xcode 版本提高至 15.1。
- 將 iOS 最低部署目標提高至 12.0。
- 已移除
advertisingIdentifier 的所有參照。
- 新增
Info.plist 檔案,確保 SDK 與 Xcode 15.3 相容。
- CocoaPods 最低版本提升至 1.12.0。
- 從二進位檔中移除位元碼。
|
2.1.0 |
2023-07-24 |
這個版本推出多個新 API,可簡化同意聲明收集程序。現有整合項目不必採用這些新版 API。
最低部署目標已提高至 iOS 11.0。
最低支援的 Xcode 版本更新為 14.1
- Xcode 14 不支援 armv7,且已從 SDK 移除。
與其他公開 API 互動前,requestConsentInfoUpdateWithParameters:completionHandler:
現在為必要呼叫。呼叫前會傳回下列項目:
UMPConsentForm
UMPConsentInformation
修正表單無法顯示,但系統從未叫用 UMPConsentFormPresentCompletionHandler 的問題。
|
2.0.1 |
2022-09-12 |
|
2.0.0 |
2021-03-15 |
- 移除了 UMPConsentType API。這個 API 不受支援。
- 已移除 i386 切片。
|
1.4.0 |
2020-11-23 |
- 加入模擬器的 arm64 切片,支援在 Apple 晶片裝置上進行測試。
- 發布商必須使用 Xcode 12 建構這個 SDK 版本。
|
1.3.0 |
2020-10-21 |
將 SDK 從 .framework 更新為 .xcframework。
|
1.2.0 |
2020-09-16 |
更新 Xcode 版本,從 10.3 建構 SDK -> 11.0 。
|
1.1.0 |
2020-08-11 |
- 新增 iOS 14 支援。
- 新增
應用程式追蹤透明度支援功能。您可以在營利成長選項使用者介面中,設定向使用者要求廣告識別碼權限的訊息。
- 允許
UMPDebugSettings.testDeviceIdentifiers 在廣告識別碼無法使用時接受新 ID。
- 修正錯誤:如果表單載入逾時,導致
-[UMPConsentForm loadWithCompletionHandler:] 遭到回呼兩次。
|
1.0.0 |
2020-07-06 |
正式發行版。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-27 (世界標準時間)。
[null,null,["上次更新時間:2025-08-27 (世界標準時間)。"],[[["\u003cp\u003eDownload the Google User Messaging Platform (UMP) SDK for iOS to manage user consent for personalized ads.\u003c/p\u003e\n"],["\u003cp\u003eThe SDK is subject to the Google Developers Site Terms of Service.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.6.0, released on September 5, 2024, includes updates to consent message handling and automatic view controller lookup.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the release notes for details on previous versions and specific changes.\u003c/p\u003e\n"]]],["The Google User Messaging Platform SDK for iOS, version 2.7.0, is available for download (0.2 MB, SHA1: b0663bd4efcda9f32f765c5b7708ff1971e34b3b). Key updates include adding options for US state regulation testing (`UMPDebugGeographyRegulatedUSState` and `UMPDebugGeographyOther`) and deprecating `UMPDebugGeographyNotEEA`. Consent message `UIViewController` references are now optional. Version 2.1.0 requires calling `requestConsentInfoUpdateWithParameters:completionHandler:` before using other APIs and introduced new methods for consent forms.\n"],null,[]]