Google UMP SDK

Google User Messaging Platform SDK 可供下載,適用於 iOS。您使用 Google Mobile Ads SDK 時,請遵守 Google 開發人員網站的服務條款

版本 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
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 晶片裝置上進行測試。
    • 發布商必須使用 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 正式版。