Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
版本資訊
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Google User Messaging Platform SDK 可供 iOS 下載。使用 Google Mobile Ads SDK 時,請務必遵守 Google Developers 網站的服務條款。
| 版本 |
3.1.0 |
| SHA1 總和檢查碼 |
c033b599479d618afd79cbf947dc9dbb21d4fc4a |
| 大小 |
0.2 MB |
下載 googleusermessagingplatform.zip
版本資訊
| 版本 |
發布日期 |
附註 |
| 3.1.0 |
2025-10-29 |
|
| 3.0.0 |
2025 年 3 月 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 和/或其關聯企業的註冊商標。
上次更新時間:2026-04-29 (世界標準時間)。
[[["容易理解","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"]],["上次更新時間:2026-04-29 (世界標準時間)。"],[],["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"]]