Skip to content

Commit 751ae96

Browse files
committed
privacy file
1 parent a1ca06f commit 751ae96

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Diff for: packages/default-storage/RNCAsyncStorage.podspec

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Pod::Spec.new do |s|
1515

1616
s.source = { :git => "https://github.com/react-native-async-storage/async-storage.git", :tag => "v#{s.version}" }
1717
s.source_files = "ios/**/*.{h,m,mm}"
18+
s.resource_bundles = { "RNCAsyncStorage_resources" => "ios/PrivacyInfo.xcprivacy" }
1819

1920
if fabric_enabled
2021
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'

Diff for: packages/default-storage/ios/PrivacyInfo.xcprivacy

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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>NSPrivacyAccessedAPITypes</key>
6+
<array>
7+
<dict>
8+
<key>NSPrivacyAccessedAPIType</key>
9+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
10+
<key>NSPrivacyAccessedAPITypeReasons</key>
11+
<array>
12+
<string>C617.1</string>
13+
</array>
14+
</dict>
15+
</array>
16+
</dict>
17+
</plist>

Diff for: packages/default-storage/ios/RNCAsyncStorage.xcodeproj/project.pbxproj

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
1990B9402233FE3A009E5EA1 /* RNCAsyncStorageDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNCAsyncStorageDelegate.h; sourceTree = "<group>"; };
3434
B3E7B5881CC2AC0600A0062D /* RNCAsyncStorage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNCAsyncStorage.h; sourceTree = "<group>"; };
3535
E29A30822BA9DF6000E66900 /* RNCAsyncStorage.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RNCAsyncStorage.mm; sourceTree = "<group>"; };
36+
E29A30842BA9E0E600E66900 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
3637
/* End PBXFileReference section */
3738

3839
/* Begin PBXFrameworksBuildPhase section */
@@ -57,6 +58,7 @@
5758
58B511D21A9E6C8500147676 = {
5859
isa = PBXGroup;
5960
children = (
61+
E29A30842BA9E0E600E66900 /* PrivacyInfo.xcprivacy */,
6062
B3E7B5881CC2AC0600A0062D /* RNCAsyncStorage.h */,
6163
E29A30822BA9DF6000E66900 /* RNCAsyncStorage.mm */,
6264
1990B9402233FE3A009E5EA1 /* RNCAsyncStorageDelegate.h */,

0 commit comments

Comments
 (0)