Skip to content

Commit

Permalink
Merge pull request #336 from tangem/IOS-5602_add_privacy_manifest
Browse files Browse the repository at this point in the history
IOS-5602 Add PrivacyInfo for UserDefaults
  • Loading branch information
tureck1y authored Jan 12, 2024
2 parents 1dd026b + 0d6ff58 commit ae82aca
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ let package = Package(
.process("Common/Localization/Resources"),
.copy("Haptics"),
.copy("Crypto/BIP39/Wordlists/english.txt"),
.copy("PrivacyInfo.xcprivacy"),
]
),
.target(
Expand Down
1 change: 1 addition & 0 deletions TangemSdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Tangem is a Swiss-based secure hardware wallet manufacturer that enables blockch
'TangemSdk/TangemSdk/**/*.lproj/*.strings',
'TangemSdk/TangemSdk/Haptics/*.ahap',
'TangemSdk/TangemSdk/**/Wordlists/*.txt',
'TangemSdk/TangemSdk/PrivacyInfo.xcprivacy',
]
}

Expand Down
5 changes: 4 additions & 1 deletion TangemSdk/TangemSdk.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@
DC3D98042A77FA7F001EEE7A /* AnyMasterKeyFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC3D98032A77FA7F001EEE7A /* AnyMasterKeyFactory.swift */; };
DC3D98062A7927A2001EEE7A /* SLIP10Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC3D98052A7927A2001EEE7A /* SLIP10Tests.swift */; };
DC3D980A2A792804001EEE7A /* KeysImportTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC3D98092A792804001EEE7A /* KeysImportTests.swift */; };
DC44C58B2B4DC48000888BED /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = DC44C5892B4DC1B200888BED /* PrivacyInfo.xcprivacy */; };
DC4E442929BF42630088617C /* Base58Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC4E442829BF42630088617C /* Base58Tests.swift */; };
DC59CB0429AF597900EC14E1 /* Wordlist.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC59CB0329AF597900EC14E1 /* Wordlist.swift */; };
DC59CB0A29AF6F9C00EC14E1 /* EntropyLength.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC59CB0929AF6F9C00EC14E1 /* EntropyLength.swift */; };
Expand Down Expand Up @@ -668,6 +669,7 @@
DC3D98032A77FA7F001EEE7A /* AnyMasterKeyFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnyMasterKeyFactory.swift; sourceTree = "<group>"; };
DC3D98052A7927A2001EEE7A /* SLIP10Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SLIP10Tests.swift; sourceTree = "<group>"; };
DC3D98092A792804001EEE7A /* KeysImportTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KeysImportTests.swift; sourceTree = "<group>"; };
DC44C5892B4DC1B200888BED /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
DC4E442829BF42630088617C /* Base58Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Base58Tests.swift; sourceTree = "<group>"; };
DC59CB0329AF597900EC14E1 /* Wordlist.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Wordlist.swift; sourceTree = "<group>"; };
DC59CB0929AF6F9C00EC14E1 /* EntropyLength.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EntropyLength.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1254,6 +1256,7 @@
children = (
5DA80C9D231D247A00A50A10 /* TangemSdk.h */,
5D5369D124461F62002886E0 /* module.modulemap */,
DC44C5892B4DC1B200888BED /* PrivacyInfo.xcprivacy */,
5D6A92EB2346069700158457 /* TangemSdk.swift */,
5D7F4E3F248FCEFB00A1700D /* UI */,
5D6A92E12345F28F00158457 /* Operations */,
Expand Down Expand Up @@ -1873,6 +1876,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
DC44C58B2B4DC48000888BED /* PrivacyInfo.xcprivacy in Resources */,
DC1244B529B60E480037BC05 /* english.txt in Resources */,
5DD5368C2476B3FB00F5DE88 /* Error.ahap in Resources */,
5D5369D224461F62002886E0 /* module.modulemap in Resources */,
Expand Down Expand Up @@ -2055,7 +2059,6 @@
DC1244E829BB9E0C0037BC05 /* ExtendedKeySerializer.swift in Sources */,
5DA5B61C233E12B30058C720 /* Tlv.swift in Sources */,
5D0E56032757C11F00D46F54 /* CardDataResponse.swift in Sources */,
5D06F6AD27565441006A15B9 /* StartPrimaryCardLinkingTask.swift in Sources */,
5D2F3EE526CBDAA100779CAC /* KeyboardAdaptive.swift in Sources */,
5D7D5FB223449D4000058D69 /* SessionEnvironment.swift in Sources */,
5D2FE06324DD82750086B5E8 /* AttestCardKeyCommand.swift in Sources */,
Expand Down
17 changes: 17 additions & 0 deletions TangemSdk/TangemSdk/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>

0 comments on commit ae82aca

Please sign in to comment.