From 0fe507d35f91fc230ea2212f637acb8ec2a43055 Mon Sep 17 00:00:00 2001 From: ujeon Date: Tue, 16 Apr 2024 11:18:31 +0900 Subject: [PATCH 1/2] chore(ios): add privacy manifest add privacy manifest about disk space apis usage --- ios/PrivacyInfo.xcprivacy | 32 +++++++++++++++++++++++ ios/RNFetchBlob.xcodeproj/project.pbxproj | 3 +++ 2 files changed, 35 insertions(+) create mode 100644 ios/PrivacyInfo.xcprivacy diff --git a/ios/PrivacyInfo.xcprivacy b/ios/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..0ca39ef61 --- /dev/null +++ b/ios/PrivacyInfo.xcprivacy @@ -0,0 +1,32 @@ + + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDataTypes + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryDiskSpace + NSPrivacyAccessedAPITypeReasons + + E174.1 + + + + + diff --git a/ios/RNFetchBlob.xcodeproj/project.pbxproj b/ios/RNFetchBlob.xcodeproj/project.pbxproj index e08dc8e1e..eb5997065 100644 --- a/ios/RNFetchBlob.xcodeproj/project.pbxproj +++ b/ios/RNFetchBlob.xcodeproj/project.pbxproj @@ -45,6 +45,7 @@ A19B48241D98102400E6868A /* RNFetchBlobProgress.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNFetchBlobProgress.m; sourceTree = ""; }; A1AAE2971D300E3E0051D11C /* RNFetchBlobReqBuilder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNFetchBlobReqBuilder.h; sourceTree = ""; }; A1AAE2981D300E4D0051D11C /* RNFetchBlobReqBuilder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNFetchBlobReqBuilder.m; sourceTree = ""; }; + F2CB9E7A2BCE128B003984C2 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -68,6 +69,7 @@ A15C30051CD25C330074CB35 = { isa = PBXGroup; children = ( + F2CB9E7A2BCE128B003984C2 /* PrivacyInfo.xcprivacy */, A19B48241D98102400E6868A /* RNFetchBlobProgress.m */, A19B48231D98100800E6868A /* RNFetchBlobProgress.h */, A1AAE2981D300E4D0051D11C /* RNFetchBlobReqBuilder.m */, @@ -134,6 +136,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, ); mainGroup = A15C30051CD25C330074CB35; From 40c171ddc5012911b737451539d66b0d6c5200c7 Mon Sep 17 00:00:00 2001 From: ujeon Date: Tue, 16 Apr 2024 11:18:59 +0900 Subject: [PATCH 2/2] chore(ios): update podspec add resource bundles to include PrivacyInfo as resource --- rn-fetch-blob.podspec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rn-fetch-blob.podspec b/rn-fetch-blob.podspec index 4edbd5cc9..24d83756a 100644 --- a/rn-fetch-blob.podspec +++ b/rn-fetch-blob.podspec @@ -13,4 +13,7 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m}' s.platform = :ios, "8.0" s.dependency 'React-Core' + s.resource_bundles = { + 'RNFetchBlobPrivacyInfo' => ['ios/PrivacyInfo.xcprivacy'], + } end