Skip to content
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

Apple Privacy manifest files - ITMS-91053: Missing API declaration #587

Closed
andcea opened this issue Mar 28, 2024 · 6 comments
Closed

Apple Privacy manifest files - ITMS-91053: Missing API declaration #587

andcea opened this issue Mar 28, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@andcea
Copy link

andcea commented Mar 28, 2024

Describe the bug

I received an email from App Store Connect after my latest release

ITMS-91053: Missing API declaration - Your app’s code in the “Runner” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

It's got warnings for:

  • NSPrivacyAccessedAPICategoryFileTimestamp
  • NSPrivacyAccessedAPICategoryDiskSpace
  • NSPrivacyAccessedAPICategorySystemBootTime
  • NSPrivacyAccessedAPICategoryUserDefaults

I don't actually know if all of these are caused by datadog_flutter_plugin, but according to DataDog/dd-sdk-ios#1749 at least one of those is.

There's a flutter issue opened about this: flutter/flutter#143232

Reproduction steps

Add the datadog_flutter_plugin package, release to App Store

SDK logs

No response

Expected behavior

No response

Affected SDK versions

datadog_flutter_plugin 2.4.0, flutter 3.19.5

Latest working SDK version

No response

Did you confirm if the latest SDK version fixes the bug?

Yes

Flutter Version

No response

Setup Type

No response

Device Information

No response

Other relevant information

No response

@andcea andcea added the bug Something isn't working label Mar 28, 2024
@fuzzybinary
Copy link
Member

Hi @andcea,

Yes, the root cause of this is DataDog/dd-sdk-ios#1749 and we actively looking for a fix. I will keep you posted. As mentioned in that ticket, you can add the symbol to your own privacy manifest and it will silence the warning.

That said, Flutter SDK 2.4.0 uses the iOS SDK 2.8.1, which should include NSPrivacyAccessedAPICategoryUserDefaults. See here: https://github.com/DataDog/dd-sdk-ios/blob/develop/DatadogCore/Resources/PrivacyInfo.xcprivacy#L24

@dballance
Copy link
Contributor

dballance commented Apr 25, 2024

Do we have a rough estimated date for a 2.5.x bump in datadog_flutter_plugin to bump the iOS SDK to 2.10.0?

See: DataDog/dd-sdk-ios#1749 (comment)

@fuzzybinary
Copy link
Member

fuzzybinary commented Apr 26, 2024

Not yet, we're getting reports that the fixes to our privacy manifest might not have fixed all issues, so I'll likely delay until 2.11 if that's the case. However, if not I'll try to get 2.10 out early next week.

@fuzzybinary
Copy link
Member

Hi folks,

We were looking to get out 2.5.x with a bump to iOS 2.10 early this week but we've hit a snag, so the update will be slightly delayed.

I know it's not ideal, but you can add the exceptions to your app's privacy manifest as a workaround until we can get 2.5.0 out.

Sorry for the inconvenience!

@dballance
Copy link
Contributor

Apple seems to have laid off the emails for now - not sure if they have given up or are just delaying. Appreciate the work to get it fixed for whenever they decide to turn it back on.

@fuzzybinary
Copy link
Member

Hi folks,

The datadog_flutter_plugin 2.5.0 which integrates iOS 2.11.0, and should fix the privacy manifest issue as well as get rid of the false positives.

Please re-open if you continue to see any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants