From a47935ec79695d35c6505bcab447ecabb2e7c4f7 Mon Sep 17 00:00:00 2001 From: emawby Date: Tue, 16 Jan 2024 11:25:25 -0800 Subject: [PATCH 1/2] add privacy manifest for extension framework --- .../OneSignal.xcodeproj/project.pbxproj | 2 + .../OneSignalExtension/PrivacyInfo.xcprivacy | 46 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 iOS_SDK/OneSignalSDK/OneSignalExtension/PrivacyInfo.xcprivacy diff --git a/iOS_SDK/OneSignalSDK/OneSignal.xcodeproj/project.pbxproj b/iOS_SDK/OneSignalSDK/OneSignal.xcodeproj/project.pbxproj index 8b66fd113..323026d14 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal.xcodeproj/project.pbxproj +++ b/iOS_SDK/OneSignalSDK/OneSignal.xcodeproj/project.pbxproj @@ -967,6 +967,7 @@ DEB843A127C0245B00D7E943 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; DEB843A327C0246A00D7E943 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; DEB843A527C0247700D7E943 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DEDD0F572B570DA100E6D1D1 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; DEF5CCF12539321A0003E9CC /* UnitTestApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = UnitTestApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; DEF5CCF32539321A0003E9CC /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; DEF5CCF42539321A0003E9CC /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; @@ -1520,6 +1521,7 @@ 7A9173A1231971E5007848FA /* OneSignalReceiveReceiptsController.m */, DE7D184D270288C6002D3A5D /* OneSignalExtensionRequests.h */, DE7D184B27028890002D3A5D /* OneSignalExtensionRequests.m */, + DEDD0F572B570DA100E6D1D1 /* PrivacyInfo.xcprivacy */, ); path = OneSignalExtension; sourceTree = ""; diff --git a/iOS_SDK/OneSignalSDK/OneSignalExtension/PrivacyInfo.xcprivacy b/iOS_SDK/OneSignalSDK/OneSignalExtension/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..42852b3c0 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/OneSignalExtension/PrivacyInfo.xcprivacy @@ -0,0 +1,46 @@ + + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeUserID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeProductInteraction + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + NSPrivacyTracking + + + \ No newline at end of file From 3e65a247d855c625ccd3a7861b4c0f384b1a95ea Mon Sep 17 00:00:00 2001 From: emawby Date: Tue, 16 Jan 2024 11:33:27 -0800 Subject: [PATCH 2/2] Add privacy manifest to OneSignalFramework --- .../OneSignal.xcodeproj/project.pbxproj | 2 + .../OneSignalSDK/Source/PrivacyInfo.xcprivacy | 82 +++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 iOS_SDK/OneSignalSDK/Source/PrivacyInfo.xcprivacy diff --git a/iOS_SDK/OneSignalSDK/OneSignal.xcodeproj/project.pbxproj b/iOS_SDK/OneSignalSDK/OneSignal.xcodeproj/project.pbxproj index 323026d14..4f49044b5 100644 --- a/iOS_SDK/OneSignalSDK/OneSignal.xcodeproj/project.pbxproj +++ b/iOS_SDK/OneSignalSDK/OneSignal.xcodeproj/project.pbxproj @@ -968,6 +968,7 @@ DEB843A327C0246A00D7E943 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; DEB843A527C0247700D7E943 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; DEDD0F572B570DA100E6D1D1 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; + DEDD0F582B570FEB00E6D1D1 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; DEF5CCF12539321A0003E9CC /* UnitTestApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = UnitTestApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; DEF5CCF32539321A0003E9CC /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; DEF5CCF42539321A0003E9CC /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; @@ -1334,6 +1335,7 @@ 912412051E73342200E41FD7 /* OneSignalTrackIAP.m */, 7A93269225AF4E6700BBEC27 /* OSPendingCallbacks.h */, 7A93269B25AF4F0200BBEC27 /* OSPendingCallbacks.m */, + DEDD0F582B570FEB00E6D1D1 /* PrivacyInfo.xcprivacy */, ); path = Source; sourceTree = ""; diff --git a/iOS_SDK/OneSignalSDK/Source/PrivacyInfo.xcprivacy b/iOS_SDK/OneSignalSDK/Source/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..1b3818602 --- /dev/null +++ b/iOS_SDK/OneSignalSDK/Source/PrivacyInfo.xcprivacy @@ -0,0 +1,82 @@ + + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypePreciseLocation + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeCoarseLocation + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeUserID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeProductInteraction + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypePurchaseHistory + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + NSPrivacyTracking + + +