Skip to content

fix: add required reason APIs to PrivacyInfo.xcprivacy - #530

Open
winshaurya wants to merge 1 commit into
amplitude:mainfrom
winshaurya:fix/privacy-manifest-required-apis
Open

fix: add required reason APIs to PrivacyInfo.xcprivacy#530
winshaurya wants to merge 1 commit into
amplitude:mainfrom
winshaurya:fix/privacy-manifest-required-apis

Conversation

@winshaurya

Copy link
Copy Markdown

Summary

Description

This PR addresses Apple's App Store mandate for third-party SDKs by adding the NSPrivacyAccessedAPITypes definitions to PrivacyInfo.xcprivacy.

Currently, Amplitude-iOS uses system APIs categorized under Apple's Required Reason APIs (e.g., NSFileManager file timestamps and NSUserDefaults). Omitting these from the privacy manifest causes automated App Store validation warnings/rejections for host apps.

Changes Made:

  • Added NSPrivacyAccessedAPICategoryFileTimestamp (reason DDA9.1) to manifest.
  • Added NSPrivacyAccessedAPICategoryUserDefaults (reason 1C8F.1) to manifest.

This ensures host apps using this SDK remain fully compliant with Apple's privacy manifest requirements.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?:

@winshaurya

Copy link
Copy Markdown
Author

@sojingle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant