From 0721e149d3a49c42f79ac43a0efa60c90484eaa0 Mon Sep 17 00:00:00 2001 From: Richard Elms Date: Thu, 22 Feb 2024 14:32:26 +0100 Subject: [PATCH] PLAT-11586 add apple privacy manifest to package (#234) * add manifest * spelling fixes * changelog --- CHANGELOG.md | 4 + .../Bugsnag/Resources/PrivacyInfo.xcprivacy | 96 +++++++++++++++++++ .../Bugsnag/Public/BugsnagConfiguration.h | 2 +- .../Source/Bugsnag/Public/BugsnagError.h | 2 +- .../Source/Bugsnag/Public/BugsnagEvent.h | 4 +- 5 files changed, 104 insertions(+), 4 deletions(-) create mode 100644 Plugins/Bugsnag/Resources/PrivacyInfo.xcprivacy diff --git a/CHANGELOG.md b/CHANGELOG.md index 45f3aa01..f11fae03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +## TBD () + +* Included apple privacy manifest in released package [2#34](https://github.com/bugsnag/bugsnag-unreal/pull/234) + ## 2.0.0 (2024-01-12) * Removed the bugsnag android gradle plugin due to incompatibility with UE 5.1+. Symbols can now be uploaded via the [BugSnag CLI](https://docs.bugsnag.com/platforms/unreal-engine/showing-full-stacktraces/#android-proguard-and-ndk-mappings)[#220](https://github.com/bugsnag/bugsnag-unreal/pull/220) diff --git a/Plugins/Bugsnag/Resources/PrivacyInfo.xcprivacy b/Plugins/Bugsnag/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000..080ea006 --- /dev/null +++ b/Plugins/Bugsnag/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,96 @@ + + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeUserID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeDeviceID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeProductInteraction + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeCrashData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDataTypes + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + + diff --git a/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagConfiguration.h b/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagConfiguration.h index 724c9084..6ace3744 100644 --- a/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagConfiguration.h +++ b/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagConfiguration.h @@ -553,7 +553,7 @@ class BUGSNAG_API FBugsnagConfiguration final : public IBugsnagFeatureFlagStore, * * The callback should return `true` to allow or `false` to prevent the event being sent. * - * Note that the callback will not normally be invoked on the thread where the error ocurred, + * Note that the callback will not normally be invoked on the thread where the error occurred, * and may run at a much later point in time or after the application has been relaunched. */ void AddOnSendError(FBugsnagOnErrorCallback Callback) { OnSendErrorCallbacks.Add(Callback); } diff --git a/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagError.h b/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagError.h index daec5be5..0fa9ef1f 100644 --- a/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagError.h +++ b/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagError.h @@ -35,7 +35,7 @@ class BUGSNAG_API IBugsnagError virtual EBugsnagErrorType GetErrorType() const = 0; /** - * The stack trace at the time the error ocurred. + * The stack trace at the time the error occurred. */ virtual TArray> GetStacktrace() const = 0; diff --git a/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagEvent.h b/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagEvent.h index 60c64523..c2ee7f3f 100644 --- a/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagEvent.h +++ b/Plugins/Bugsnag/Source/Bugsnag/Public/BugsnagEvent.h @@ -64,12 +64,12 @@ class BUGSNAG_API IBugsnagEvent : public virtual IBugsnagFeatureFlagStore, publi virtual void SetGroupingHash(const TOptional&) = 0; /** - * Information about the app at the time the error ocurred. + * Information about the app at the time the error occurred. */ virtual const TSharedRef GetApp() const = 0; /** - * Information about the computer or device running the app at the time the error ocurred. + * Information about the computer or device running the app at the time the error occurred. */ virtual const TSharedRef GetDevice() const = 0;