Skip to content

Commit

Permalink
added PrivacyInfo.xcprivacy as a requirement for using UserDefaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir - Work committed May 10, 2024
1 parent ab9b872 commit 7de74af
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"originHash" : "62dc5f9606142e259275d938027b59c944959560f934dd2210d0e0cc4420a08d",
"pins" : [
{
"identity" : "attentive-ios-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/attentive-mobile/attentive-ios-sdk",
"state" : {
"branch" : "main",
"revision" : "ab9b8725f97cd9ea70b548b8adac1c6b54a73bfe"
}
}
],
"version" : 3
}
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ let package = Package(
targets: [
.target(
name: "ATTNSDKFramework",
path: "Sources/"
path: "Sources/",
resources: [ .process("Resources") ]
)
]
)
23 changes: 23 additions & 0 deletions Sources/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?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>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>
13 changes: 13 additions & 0 deletions attentive-ios-sdk.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
69BA6D6F29BA3B1700CCA573 /* ATTNCreativeUrlFormatterTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 69BA6D6E29BA3B1700CCA573 /* ATTNCreativeUrlFormatterTest.m */; };
69BA6D7129BA3B5900CCA573 /* ATTNCreativeUrlFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 69BA6D7029BA3B5900CCA573 /* ATTNCreativeUrlFormatter.m */; };
69BA6D7329BA3B9000CCA573 /* ATTNCreativeUrlFormatter.h in Headers */ = {isa = PBXBuildFile; fileRef = 69BA6D7229BA3B9000CCA573 /* ATTNCreativeUrlFormatter.h */; };
FBF5C2942BEE65830022FE6B /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = FBF5C2932BEE65830022FE6B /* PrivacyInfo.xcprivacy */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -163,6 +164,7 @@
69BA6D6E29BA3B1700CCA573 /* ATTNCreativeUrlFormatterTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = ATTNCreativeUrlFormatterTest.m; path = Tests/ATTNCreativeUrlFormatterTest.m; sourceTree = "<group>"; };
69BA6D7029BA3B5900CCA573 /* ATTNCreativeUrlFormatter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = ATTNCreativeUrlFormatter.m; path = Sources/ATTNCreativeUrlFormatter.m; sourceTree = "<group>"; };
69BA6D7229BA3B9000CCA573 /* ATTNCreativeUrlFormatter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = ATTNCreativeUrlFormatter.h; path = Sources/ATTNCreativeUrlFormatter.h; sourceTree = "<group>"; };
FBF5C2932BEE65830022FE6B /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -232,6 +234,7 @@
58332ED9292EC21100B1ECF3 /* Sources */ = {
isa = PBXGroup;
children = (
FBF5C2922BEE65650022FE6B /* Resources */,
58C9CA5429E5EE6700EF036E /* Internal */,
5806DE772977570100C18FFA /* Events */,
6972874E29353FEA003F1BEC /* ATTNPersistentStorage.h */,
Expand Down Expand Up @@ -338,6 +341,15 @@
path = Sources/Internal;
sourceTree = "<group>";
};
FBF5C2922BEE65650022FE6B /* Resources */ = {
isa = PBXGroup;
children = (
FBF5C2932BEE65830022FE6B /* PrivacyInfo.xcprivacy */,
);
name = Resources;
path = Sources/Resources;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand Down Expand Up @@ -452,6 +464,7 @@
files = (
58332EE1292EC26000B1ECF3 /* LICENSE in Resources */,
58332EE0292EC26000B1ECF3 /* README.md in Resources */,
FBF5C2942BEE65830022FE6B /* PrivacyInfo.xcprivacy in Resources */,
58332EDD292EC25500B1ECF3 /* attentive-ios-sdk.podspec in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down

0 comments on commit 7de74af

Please sign in to comment.