Apple Privacy Manifest
Apple is introducing a new privacy policy for including privacy manifest files in your apps that target the iOS, iPadOS, tvOS, visionOS, and watchOS platforms on the App Store. For more details on this policy, please review the Privacy Manifest Files in the Apple documentation.
As of May 1, 2024, the Apple privacy policy manifest file must be included in your apps.
What Must Be Included in the PrivacyInfo.xcprivacy File
The PrivacyInfo.xcprivacy
file lists:
- The types of data collected by your .NET MAUI application or any third-party SDKs.
- The reasons for using certain Required Reason APIs.
Add PrivacyInfo.xcprivacy to Your Application
Create a PrivacyInfo.xcprivacy
file inside the Platforms/iOS
folder.
For reference, you can use the PrivacyInfo.xcprivacy
file already added to the Telerik UI for .NET MAUI Controls Samples and Telerik UI for .NET MAUI Crypto Tracker applications:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>E174.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>
See Also
- Microsoft Blogs - Adding Apple Privacy Manifest Support to .NET iOS & .NET MAUI Apps
- Apple Documentation - Privacy Manifest Files
- Apple Documentation - Adding a Privacy Manifest File
- Apple Documentation - Describing Data Use in Privacy Manifests
- Apple Documentation - Describing Use of Required Reason API