Documentation

Support

Cloud Diagnostics

Cloud Diagnostics

Apple privacy manifest

Include a privacy manifest in your iOS app to declare what personal data Cloud Diagnostics collects in keeping with Apple's policy.
Read time 1 minuteLast updated 10 days ago

Important
Cloud Diagnostics is deprecated, and will be phased out in future versions of Unity. For more robust reports and device information, including information on Application Not Responding (ANR) errors for Android, use the diagnostics experience available in Unity 6.2 and later. For information about migrating from Cloud Diagnostics, refer to Migrate to Diagnostics in the Unity Dashboard.
To publish applications for iOS, iPadOS, tvOS, and visionOS platforms on the App Store, you must include a privacy manifest file in your application as per Apple’s privacy policy.
Note
For information on creating a privacy manifest file to include in your application, refer to Apple’s privacy manifest policy requirements.
The PrivacyInfo.xcprivacy manifest file outlines the required information, ensuring transparency in accordance with user privacy practices. This file lists the types of data that your Unity applications, third-party SDKs, packages, and plug-ins collect, and the reasons for using certain required reason API (Apple documentation) categories. Apple also requires that certain domains be declared as tracking (Apple documentation); these domains might be blocked unless a user provides consent.
Warning
If your privacy manifest doesn’t declare the use of the required reason API by you or third-party SDKs, the App Store might reject your application. Read more about the required reason API in Apple’s documentation.
Note
The privacy requirements for Cloud Diagnostics also apply to the User Reporting service. The privacy manifest for Cloud Diagnostics is available from 1.0.9. The privacy manifest for User Reporting is available from 2.0.11.

PrivacyInfo.xcprivacy

The following code sample contains the PrivacyInfo.xcprivacy manifest for Cloud Diagnostics and User Reporting. This file is also available in the SDKs. To identify the data that this SDK collects and the purpose for collecting it, refer to the following keys:
  • NSPrivacyCollectedDataType
  • NSPrivacyCollectedDataTypePurposes
<?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>NSPrivacyTracking</key> <false /> <key>NSPrivacyTrackingDomains</key> <array /> <key>NSPrivacyCollectedDataTypes</key> <array> <dict> <key>NSPrivacyCollectedDataType</key> <string>NSPrivacyCollectedDataTypeCrashData</string> <key>NSPrivacyCollectedDataTypeLinked</key> <false /> <key>NSPrivacyCollectedDataTypeTracking</key> <false /> <key>NSPrivacyCollectedDataTypePurposes</key> <array> <string>NSPrivacyCollectedDataTypePurposeAnalytics</string> <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string> </array> </dict> <dict> <key>NSPrivacyCollectedDataType</key> <string>NSPrivacyCollectedDataTypePerformanceData</string> <key>NSPrivacyCollectedDataTypeLinked</key> <false /> <key>NSPrivacyCollectedDataTypeTracking</key> <false /> <key>NSPrivacyCollectedDataTypePurposes</key> <array> <string>NSPrivacyCollectedDataTypePurposeAnalytics</string> <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string> </array> </dict> <dict> <key>NSPrivacyCollectedDataType</key> <string>NSPrivacyCollectedDataTypeOtherDiagnosticData</string> <key>NSPrivacyCollectedDataTypeLinked</key> <false /> <key>NSPrivacyCollectedDataTypeTracking</key> <false /> <key>NSPrivacyCollectedDataTypePurposes</key> <array> <string>NSPrivacyCollectedDataTypePurposeAnalytics</string> <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string> </array> </dict> <dict> <key>NSPrivacyCollectedDataType</key> <string>NSPrivacyCollectedDataTypeUserID</string> <key>NSPrivacyCollectedDataTypeLinked</key> <false /> <key>NSPrivacyCollectedDataTypeTracking</key> <false /> <key>NSPrivacyCollectedDataTypePurposes</key> <array> <string>NSPrivacyCollectedDataTypePurposeAnalytics</string> <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string> </array> </dict> </array> <key>NSPrivacyAccessedAPITypes</key> <array /> </dict></plist>