[Request]: The missing PrivacyManifest support
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 58/100
调研方向
从 packages/package_info_plus/package_info_plus/ios/package_info_plus/Sources/package_info_plus/PrivacyInfo.xcprivacy 开始,并检查 FPPPackageInfoPlusPlugin.m 中对 _NSFileCreationDate 的使用。运行提供的 nm 命令或 iOS required-reason scanner,然后使用已确认的 File Timestamp 类别和 reason 更新 manifest。当构建出的 package 声明了所需的 API 且没有 scanner 警告时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Plugin
package_info_plus
Use case
Hi package_info_plus team,
First, thank you for maintaining this incredibly useful package.
I am writing to report a potential issue regarding the privacy manifest (PrivacyInfo.xcprivacy) that may require your attention to ensure compliance with Apple's App Store policies.
Issue Description
While using a scanner tool (omarzl/ios_17_required_reason_api_scanner) and manually inspecting the framework binary, I found that package_info_plus seems to use an API that requires a "Required Reason" declaration.
Specifically, the symbol _NSFileCreationDate was found, which is part of the File Timestamp API category (NSPrivacyAccessedAPICategoryFileTimestamp). However, the package's current PrivacyInfo.xcprivacy does not include a declaration for this API category.
Without this declaration, apps using this package may face warnings or rejections during the App Store review process.
Steps to Reproduce
Build a Flutter app that includes package_info_plus for an iOS target.
Locate the built framework at build/ios/Debug-iphoneos/package_info_plus/package_info_plus.framework/package_info_plus.
Run the nm command to inspect the symbols used by the binary:
nm -u path/to/package_info_plus | grep '_NSFileCreationDate'
The output confirms that the _NSFileCreationDate symbol is being used.
Proposal
I would like to request that you update the PrivacyInfo.xcprivacy file to include the necessary declaration for the File Timestamp API. Based on Apple's documentation, the following entry should be added to the NSPrivacyAccessedAPITypes array:
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<!-- Reason C617.1: To display file timestamp information to the user. -->
<string>C617.1</string>
</array>
</dict>
I've suggested reason code C617.1 as it seems the most likely fit for this package's functionality (displaying app information). Please confirm if this is the appropriate reason.
Thank you for your time and consideration on this matter.
- 主要语言
- Dart
- 星标
- 1.9k
- 派生
- 1.3k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fluttercommunity/plus_plugins 的其他 Issue
-
bug triage
难度 2/5 1-3 小时 新手友好度 66/100
fluttercommunity/plus_plugins#4018 ·
-
bug triage
难度 1/5 1 小时以内 新手友好度 91/100
fluttercommunity/plus_plugins#4017 ·
-
[Bug]: (share_plus) iOS drops the subject when sharing a uri可能已有人在做 @kaluli123123 于 43 天前认领。 未关闭bug triage
难度 2/5 1-3 小时 新手友好度 82/100
fluttercommunity/plus_plugins#3994 · 1 条评论 ·
-
enhancement triage
难度 3/5 1-2 天 新手友好度 55/100
fluttercommunity/plus_plugins#4019 ·
-
question
难度 4/5 3-5 天 新手友好度 48/100
fluttercommunity/plus_plugins#4015 ·
查看 fluttercommunity/plus_plugins 的全部 Issue
相似的 Issue
-
from.page-issue
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
rusty4444/hermes-android#281 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
OscillateLabsLLC/ovos-gui-visage#52 ·
维护者通常 1 天内回复
-
[Bug]更新之后,搜索框不见了未关闭bug
难度 2/5 1-3 小时 新手友好度 66/100
bggRGjQaUbCoE/PiliPlus#3659 · 2 条评论 ·
维护者通常 1 天内回复