版本資訊

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 consent 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 中觸發通知,請選取「Accept Change」接受新身分。
2.3.0 2024-03-14
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 中移除。
  • 現在,您必須先呼叫 requestConsentInfoUpdateWithParameters:completionHandler:,才能與其他公開 API 互動。呼叫前,系統會傳回下列項目:
  • 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 Silicon 裝置上測試。
    • 發布商必須使用 Xcode 12 建構這個 SDK 版本。
    1.3.0 2020-10-21 將 SDK 從 .framework 更新為 .xcframework。
    1.2.0 2020-09-16 更新 Xcode 版本,從 10.3->11.0 建構 SDK。
    1.1.0 2020-08-11
    • 新增 iOS 14 支援。
    • 修正載入表單逾時會導致 -[UMPConsentForm loadWithCompletionHandler:] 回呼兩次的錯誤。
    1.0.0 2020-07-06 正式發布版。