-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: release 3.7.0 #273
feat: release 3.7.0 #273
Conversation
Codecov Report
@@ Coverage Diff @@
## master #273 +/- ##
==========================================
- Coverage 79.40% 74.44% -4.96%
==========================================
Files 127 137 +10
Lines 6739 10291 +3552
==========================================
+ Hits 5351 7661 +2310
- Misses 1388 2630 +1242
|
SonarCloud Quality Gate failed. 0 Bugs 85.7% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
对于 privacy manifest 支持,目前 SDK 支持如下集成方式:
手动集成说明
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
</array>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeUserID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<true/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<true/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<true/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
</array> |
原因: 虽然 MobileDebugger 仅在 iOS 下集成,但 swiftPM 还是会先编译 MD 的依赖再进行平台判断,也就是 screenshot,导致找不到 UIKit 报错
Kudos, SonarCloud Quality Gate passed! |
Apple的Xcode工具有一个功能,能够从一个.app(.ipa)提取并生成一个PDF预览的Privacy Detail Pages 我担心CocoaPods直接利用 |
以及, |
@dreampiggy 我是直接用我们的 framework name (GrowingAnalytics) 作为 bundle name,在编写这些 commit 时,使用 Xcode 15 beta 测试放在 .bundle 的 privacy 可以正常识别并导出 |
@dreampiggy 下列内容希望对你有帮助 使用 Xcode 15.0 (15A240d) 再次验证,只有 data collects 类型会出现在最后的 privacy report pdf 中,具体格式为:
Cocoapods + use_frameworks!: use of required reason API 类型则不会 Apple 在文档里有提到:
use of required reason API 类型他们在 ITC Server 应该也会检测 GrowingAnalytics SDK 目前的 privacy 配置中:
|
对于CocoaPods的subspecs,我需要对每个subspecs声明resource_bundles吗?会产生重复的.bundle吗?
|
只要 root spec, GrowingAnalytics 是因为所有的 spec 都基于 trackerCore,因此放在 trackerCore spec 中 |
pick 了 #268 中部分 commit 到 3.x 版本上
以及一些 CI 和代码格式的调整