Skip to content

Commit 515a72a

Browse files
authored
Merge pull request #343 from brainbicycle/brian/privacy-manifest
chore: first pass at adding a privacy manifest
2 parents 618685f + eadefd3 commit 515a72a

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

ios/PrivacyInfo.xcprivacy

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyCollectedDataTypes</key>
6+
<array/>
7+
<key>NSPrivacyAccessedAPITypes</key>
8+
<array>
9+
<dict>
10+
<key>NSPrivacyAccessedAPIType</key>
11+
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
12+
<key>NSPrivacyAccessedAPITypeReasons</key>
13+
<array>
14+
<string>E174.1</string>
15+
</array>
16+
</dict>
17+
<dict>
18+
<key>NSPrivacyAccessedAPIType</key>
19+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
20+
<key>NSPrivacyAccessedAPITypeReasons</key>
21+
<array>
22+
<string>0A2A.1</string>
23+
</array>
24+
</dict>
25+
</array>
26+
</dict>
27+
</plist>

ios/ReactNativeBlobUtil.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
A15C30111CD25C330074CB35 /* ReactNativeBlobUtil.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = ReactNativeBlobUtil.h; path = ReactNativeBlobUtil/ReactNativeBlobUtil.h; sourceTree = "<group>"; };
5454
A19B48231D98100800E6868A /* ReactNativeBlobUtilProgress.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ReactNativeBlobUtilProgress.h; sourceTree = "<group>"; };
5555
A1AAE2971D300E3E0051D11C /* ReactNativeBlobUtilReqBuilder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ReactNativeBlobUtilReqBuilder.h; sourceTree = "<group>"; };
56+
CBE41E482BB345A0004922E9 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
5657
E83F89B1EFF498D9833537A4 /* Pods-ReactNativeBlobUtil.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeBlobUtil.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeBlobUtil/Pods-ReactNativeBlobUtil.debug.xcconfig"; sourceTree = "<group>"; };
5758
/* End PBXFileReference section */
5859

@@ -87,6 +88,7 @@
8788
A15C30051CD25C330074CB35 = {
8889
isa = PBXGroup;
8990
children = (
91+
CBE41E482BB345A0004922E9 /* PrivacyInfo.xcprivacy */,
9092
11A307F22A06E47400E56674 /* ReactNativeBlobUtil */,
9193
11A307F42A06E47500E56674 /* ReactNativeBlobUtilConst.mm */,
9294
11A307F32A06E47400E56674 /* ReactNativeBlobUtilFileTransformer.mm */,

react-native-blob-util.podspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Pod::Spec.new do |s|
1313
s.source = { :git => "https://github.com/RonRadtke/react-native-blob-util" }
1414
s.author = 'RonRadtke'
1515
s.source_files = 'ios/**/*.{h,m,mm,swift}'
16+
s.resource_bundles = {
17+
'ReactNativeBlobUtilPrivacyInfo' => ['ios/PrivacyInfo.xcprivacy'],
18+
}
1619
s.platforms = { :ios => "11.0" }
1720
s.framework = 'AssetsLibrary'
1821

0 commit comments

Comments
 (0)