Google UMP SDK
    
    
      
    
    
      
      使用集合让一切井井有条
    
    
      
      根据您的偏好保存内容并对其进行分类。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
Google User Messaging Platform SDK 可供 iOS 用户下载。在使用 Google 移动广告 SDK 时,您必须遵守 Google Developers 网站服务条款。
  | 版本 | 
  3.1.0 | 
  | SHA1 校验和 | 
  c033b599479d618afd79cbf947dc9dbb21d4fc4a | 
  | 大小 | 
  0.2 MB | 
下载 googleusermessagingplatform.zip
版本说明
  
    
    
    
  
  | 版本 | 
  发布日期 | 
  备注 | 
  | 3.1.0 | 
  2025-10-29 | 
  
    
   | 
  | 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 引用现在可为 null,并且不再是必需的。如果未提供视图控制器,SDK 会使用应用的主窗口自动查找视图控制器。 
     
   | 
  | 2.5.0 | 
  2024-06-26 | 
  
    
      - 更新了 
canRequestAds API,以便在应用未配置任何隐私权消息时返回 true。 
      - 将 
-[UMPConsentForm init] 的可为 null 性从 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 slice。
 
     
   | 
  | 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 | 
  更新了用于构建 SDK 的 Xcode 版本,从 10.3 更新为 11.0。
   | 
  | 1.1.0 | 
  2020-08-11 | 
  
    
      - 增添了对 iOS 14 的支持。
        
          - 增加了对
            应用跟踪透明度的支持。您可以在资助选项界面上配置向用户请求广告标识符 (IDFA) 权限的消息。
 
          - 允许 
UMPDebugSettings.testDeviceIdentifiers 在 IDFA 不可用时接受新标识符。 
         
       
      - 修复了在加载表单超时时会导致两次回调 
-[UMPConsentForm loadWithCompletionHandler:] 的 bug。 
     
   | 
  | 1.0.0 | 
  2020-07-06 | 
  推出正式版。 | 
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-10-29。
  
  
  
    
      [null,null,["最后更新时间 (UTC):2025-10-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"]]