-
Notifications
You must be signed in to change notification settings - Fork 135
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
False NSPrivacyAccessedAPICategoryFileTimestamp
API usage detection? (Privacy Manifest)
#1756
Comments
Hey @shagedorn 👋. Thanks for pointing this out. I confirm, we don't use |
Thanks for your efforts! Any updates on when this will be cut for release? |
Again, thanks for your efforts. |
Thanks for patience everyone. We are planning a release this week. |
👋 2.10.0 is out and it contains the fix to this issue. |
hi @ncreated We updated the datadog to 2.10.0 and submitted our app but still got the same warnings.
Should we also declare those two apis in the privacy manifest file? because we don't use them directly in the project. thanks for the fix and help! |
@joseewu Our SDK does not use any of Required Reason APIs. The warnings that we fixed in 2.10.0 (#1774) were false-positives. Is it possible that in this warning is caused by some other library, not Datadog SDK? You may want to scan your codebase, for example using the approach described by @shagedorn:
The fix we did in #1774 includes a linter phase that validates our code against Required Reason APIs using a regex that should include all RR APIs. It is the same list of RR APIs as the one used by @shagedorn. |
Question
We currently get the following warning when submitting our app to App Store Connect:
We have audited our own code (no usage) and other SDKs (no usage or declared usage), and could not find the source. Using this tool (binary-based scanner), we get this output:
I reviewed the
FilesOrchestrator.swift
code and it seems the restricted API isn't actually used, but.creationDate
sounds/looks like one of those APIs, so the linked tool flags a false positive. Unfortunately, Apple does not point out the source, but from reading through the related issue #1749, it sounds like Apple might do the same, falsely flagging restricted API usage.Is anyone else experiencing the same? Would it be an option to rename the
creationDate
property/tuple field to work around it?The text was updated successfully, but these errors were encountered: