From e0f2a01f32b91628887e6040cad4c056a8fb6a40 Mon Sep 17 00:00:00 2001 From: Daniel Edwards Date: Thu, 8 Feb 2024 11:31:37 -0500 Subject: [PATCH 1/4] Adds PrivacyInfo.xcprivacy and necessary attributes --- ios/PrivacyInfo.xcprivacy | 18 ++++++++++++++++++ ios/ShareMenu.xcodeproj/project.pbxproj | 22 +++------------------- 2 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 ios/PrivacyInfo.xcprivacy diff --git a/ios/PrivacyInfo.xcprivacy b/ios/PrivacyInfo.xcprivacy new file mode 100644 index 00000000..0f3f6446 --- /dev/null +++ b/ios/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyAccessedAPITypes + + + + NSPrivacyCollectedDataTypes + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + diff --git a/ios/ShareMenu.xcodeproj/project.pbxproj b/ios/ShareMenu.xcodeproj/project.pbxproj index b8ff2899..6a5b1ae8 100644 --- a/ios/ShareMenu.xcodeproj/project.pbxproj +++ b/ios/ShareMenu.xcodeproj/project.pbxproj @@ -7,11 +7,7 @@ objects = { /* Begin PBXBuildFile section */ - - - F4FF95D7245B92E800C19C63 /* ShareMenu.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4FF95D6245B92E800C19C63 /* ShareMenu.swift */; }; - - 5E555C0D2413F4C50049A1A2 /* ShareMenu.mm in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* ShareMenu.mm */; }; + F4FF95D7245B92E800C19C63 /* ShareMenu.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4FF95D6245B92E800C19C63 /* ShareMenu.swift */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -28,12 +24,10 @@ /* Begin PBXFileReference section */ 134814201AA4EA6300B7C361 /* libShareMenu.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libShareMenu.a; sourceTree = BUILT_PRODUCTS_DIR; }; - - B3E7B5891CC2AC0600A0062D /* ShareMenu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShareMenu.m; sourceTree = ""; }; + E0EB70782B7538A800BFF229 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; F4FF95D5245B92E700C19C63 /* ShareMenu-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ShareMenu-Bridging-Header.h"; sourceTree = ""; }; F4FF95D6245B92E800C19C63 /* ShareMenu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShareMenu.swift; sourceTree = ""; }; - /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -58,12 +52,10 @@ 58B511D21A9E6C8500147676 = { isa = PBXGroup; children = ( - - + E0EB70782B7538A800BFF229 /* PrivacyInfo.xcprivacy */, F4FF95D6245B92E800C19C63 /* ShareMenu.swift */, B3E7B5891CC2AC0600A0062D /* ShareMenu.m */, F4FF95D5245B92E700C19C63 /* ShareMenu-Bridging-Header.h */, - 134814211AA4EA7D00B7C361 /* Products */, ); sourceTree = ""; @@ -125,11 +117,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - - F4FF95D7245B92E800C19C63 /* ShareMenu.swift in Sources */, - B3E7B58A1CC2AC0600A0062D /* ShareMenu.m in Sources */, - ); runOnlyForDeploymentPostprocessing = 0; }; @@ -242,11 +230,9 @@ OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = ShareMenu; SKIP_INSTALL = YES; - SWIFT_OBJC_BRIDGING_HEADER = "ShareMenu-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; - }; name = Debug; }; @@ -263,10 +249,8 @@ OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = ShareMenu; SKIP_INSTALL = YES; - SWIFT_OBJC_BRIDGING_HEADER = "ShareMenu-Bridging-Header.h"; SWIFT_VERSION = 5.0; - }; name = Release; }; From f2ae6c37d1f2bf1fe364a23eefd146615e95d03d Mon Sep 17 00:00:00 2001 From: Daniel Edwards Date: Thu, 8 Feb 2024 11:39:26 -0500 Subject: [PATCH 2/4] Adds reason for use of UserDefaults --- ios/PrivacyInfo.xcprivacy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ios/PrivacyInfo.xcprivacy b/ios/PrivacyInfo.xcprivacy index 0f3f6446..c6ec185c 100644 --- a/ios/PrivacyInfo.xcprivacy +++ b/ios/PrivacyInfo.xcprivacy @@ -6,6 +6,8 @@ + UserDefaults + CA92.1 NSPrivacyCollectedDataTypes From 68e2513df80b8d2ebc32962ab5ae1c078c5f8835 Mon Sep 17 00:00:00 2001 From: Daniel Edwards Date: Thu, 8 Feb 2024 11:44:21 -0500 Subject: [PATCH 3/4] Adds more copy for reasoning --- ios/PrivacyInfo.xcprivacy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/PrivacyInfo.xcprivacy b/ios/PrivacyInfo.xcprivacy index c6ec185c..d6db64f3 100644 --- a/ios/PrivacyInfo.xcprivacy +++ b/ios/PrivacyInfo.xcprivacy @@ -7,7 +7,7 @@ UserDefaults - CA92.1 + CA92.1 : Acces info from same app, per documentation NSPrivacyCollectedDataTypes From 003f28edac815430835ce1f6762b8e3b5333cc14 Mon Sep 17 00:00:00 2001 From: Daniel Edwards Date: Thu, 8 Feb 2024 14:35:41 -0500 Subject: [PATCH 4/4] Updating to correct the shape of the Privacy Manifest --- ios/PrivacyInfo.xcprivacy | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/ios/PrivacyInfo.xcprivacy b/ios/PrivacyInfo.xcprivacy index d6db64f3..0214db37 100644 --- a/ios/PrivacyInfo.xcprivacy +++ b/ios/PrivacyInfo.xcprivacy @@ -2,15 +2,20 @@ - NSPrivacyAccessedAPITypes + NSPrivacyCollectedDataTypes - UserDefaults - CA92.1 : Acces info from same app, per documentation - NSPrivacyCollectedDataTypes + NSPrivacyAccessedAPITypes - + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + C56D.1 + + NSPrivacyTracking