Skip to content

Commit

Permalink
Merge pull request #32 from CleverTap/SDK-3680-AddXCPrivacyFile
Browse files Browse the repository at this point in the history
SDK-3680-AddXCPrivacyFile
  • Loading branch information
AishwaryaNanna authored Mar 20, 2024
2 parents 75e9a1a + d1c4b07 commit 95e57a3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Change Log
==========
Version 0.1.6 (20 March, 2024)
-----------------------------------------------
- Adds privacy manifests.

Version 0.1.5 *(22 June, 2022)*
-------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion CTNotificationService.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "CTNotificationService"
s.version = "0.1.5"
s.version = "0.1.6"
s.summary = "A simple Notification Service Extension class to add media attachments to iOS 10 rich push notifications."
s.homepage = "https://github.com/CleverTap/CTNotificationService"
s.license = "MIT"
Expand All @@ -10,4 +10,5 @@ Pod::Spec.new do |s|
s.platform = :ios, '10.0'
s.weak_frameworks = 'UserNotifications'
s.source_files = 'CTNotificationService/*.{m,h}'
s.resources = 'CTNotificationService/*.{xcprivacy}'
end
4 changes: 4 additions & 0 deletions CTNotificationService.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
objects = {

/* Begin PBXBuildFile section */
3210E7272BA345FB00C44F19 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 3210E7262BA345FB00C44F19 /* PrivacyInfo.xcprivacy */; };
526389281E64F6D300C8F9B1 /* CTNotificationService.h in Headers */ = {isa = PBXBuildFile; fileRef = 526389261E64F6D300C8F9B1 /* CTNotificationService.h */; settings = {ATTRIBUTES = (Public, ); }; };
526389301E64FB1C00C8F9B1 /* CTNotificationServiceExtension.h in Headers */ = {isa = PBXBuildFile; fileRef = 5263892E1E64FB1C00C8F9B1 /* CTNotificationServiceExtension.h */; settings = {ATTRIBUTES = (Public, ); }; };
526389311E64FB1C00C8F9B1 /* CTNotificationServiceExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = 5263892F1E64FB1C00C8F9B1 /* CTNotificationServiceExtension.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
3210E7262BA345FB00C44F19 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
526389231E64F6D300C8F9B1 /* CTNotificationService.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CTNotificationService.framework; sourceTree = BUILT_PRODUCTS_DIR; };
526389261E64F6D300C8F9B1 /* CTNotificationService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CTNotificationService.h; sourceTree = "<group>"; };
526389271E64F6D300C8F9B1 /* CTNotificationService.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = CTNotificationService.plist; sourceTree = "<group>"; };
Expand Down Expand Up @@ -50,6 +52,7 @@
526389251E64F6D300C8F9B1 /* CTNotificationService */ = {
isa = PBXGroup;
children = (
3210E7262BA345FB00C44F19 /* PrivacyInfo.xcprivacy */,
526389261E64F6D300C8F9B1 /* CTNotificationService.h */,
5263892E1E64FB1C00C8F9B1 /* CTNotificationServiceExtension.h */,
5263892F1E64FB1C00C8F9B1 /* CTNotificationServiceExtension.m */,
Expand Down Expand Up @@ -129,6 +132,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3210E7272BA345FB00C44F19 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
8 changes: 8 additions & 0 deletions CTNotificationService/PrivacyInfo.xcprivacy
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>NSPrivacyTracking</key>
<false/>
</dict>
</plist>
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ let package = Package(
dependencies: [],
path: "CTNotificationService",
exclude: ["CTNotificationService.plist"],
resources: [
.copy("PrivacyInfo.xcprivacy")
],
publicHeadersPath: "include",
cSettings: [
.headerSearchPath("./")
Expand Down

0 comments on commit 95e57a3

Please sign in to comment.