Skip to content

Commit dc59a11

Browse files
committed
add PrivacyInfo.xcprivacy
1 parent 5119a84 commit dc59a11

File tree

4 files changed

+26
-4
lines changed

4 files changed

+26
-4
lines changed

Examples/iOS/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
22
- KeychainSwift (20.0.0)
3-
- LMStorage (1.0.6):
3+
- LMStorage (1.0.7):
44
- KeychainSwift
55

66
DEPENDENCIES:
@@ -16,8 +16,8 @@ EXTERNAL SOURCES:
1616

1717
SPEC CHECKSUMS:
1818
KeychainSwift: 0ce6a4d13f7228054d1a71bb1b500448fb2ab837
19-
LMStorage: f231736ce408aebabcdb90b1329e7695daa91a93
19+
LMStorage: c9ed5f5f798dee0bc9147c5358273cc47f706376
2020

2121
PODFILE CHECKSUM: 208c4e2d0bc43c26e11d7fc08d1151f5fc532b17
2222

23-
COCOAPODS: 1.11.3
23+
COCOAPODS: 1.15.2

LMStorage.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "LMStorage"
3-
s.version = "1.0.6"
3+
s.version = "1.0.7"
44
s.summary = "💾 LMStorage is a framework which reduces the complexity of managing a persistent layer."
55
s.requires_arc = true
66
s.homepage = "https://github.com/thejohnlima/LMStorage"
@@ -12,6 +12,7 @@ Pod::Spec.new do |s|
1212
s.watchos.deployment_target = "4.0"
1313
s.source = { :git => "https://github.com/thejohnlima/LMStorage.git", :tag => "#{s.version}" }
1414
s.source_files = "Sources/LMStorage/**/*.{swift}"
15+
s.resource_bundles = {'LMStorage_Privacy' => 'Sources/LMStorage/PrivacyInfo.xcprivacy'}
1516
s.swift_version = "5.0"
1617
s.dependency 'KeychainSwift'
1718
end

Package.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ let package = Package(
2121
name: "LMStorage",
2222
dependencies: [
2323
.product(name: "KeychainSwift", package: "keychain-swift")
24+
],
25+
resources: [
26+
.copy("Sources/LMStorage/PrivacyInfo.xcprivacy")
2427
]
2528
),
2629
.testTarget(
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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>NSPrivacyAccessedAPICategoryUserDefaults</string>
10+
<key>NSPrivacyAccessedAPITypeReasons</key>
11+
<array>
12+
<string>1C8F.1</string>
13+
<string>C56D.1</string>
14+
</array>
15+
</dict>
16+
</array>
17+
</dict>
18+
</plist>

0 commit comments

Comments
 (0)