Skip to content

Commit

Permalink
Adding PrivacyInfo.xcprivacy (#453)
Browse files Browse the repository at this point in the history
feat(privacy-manifest): adding PrivacyInfo.xcprivacy
  • Loading branch information
jguz-pubnub authored Apr 16, 2024
1 parent 4c5c0fd commit 05f67ab
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Framework/PubNub Framework.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@
/* End PBXAggregateTarget section */

/* Begin PBXBuildFile section */
3D5BE9D22BCEB3660091ACA7 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 3D5BE99C2BCD3DA30091ACA7 /* PrivacyInfo.xcprivacy */; };
3D5BE9D32BCEB3670091ACA7 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 3D5BE99C2BCD3DA30091ACA7 /* PrivacyInfo.xcprivacy */; };
3D5BE9D42BCEB3680091ACA7 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 3D5BE99C2BCD3DA30091ACA7 /* PrivacyInfo.xcprivacy */; };
3D5BE9D52BCEB3680091ACA7 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 3D5BE99C2BCD3DA30091ACA7 /* PrivacyInfo.xcprivacy */; };
791582091BD709C60084FC70 /* PubNub+History.m in Sources */ = {isa = PBXBuildFile; fileRef = 79CBB05E1BD03DE4001FC34D /* PubNub+History.m */; };
7915820A1BD709C60084FC70 /* PNPresenceGlobalHereNowResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 79CBB0951BD03DE4001FC34D /* PNPresenceGlobalHereNowResult.m */; };
7915820B1BD709C60084FC70 /* PNString.m in Sources */ = {isa = PBXBuildFile; fileRef = 79CBB0BC1BD03DE4001FC34D /* PNString.m */; };
Expand Down Expand Up @@ -2701,6 +2705,7 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
3D5BE99C2BCD3DA30091ACA7 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
7915839D1BD7119E0084FC70 /* PubNub-iOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PubNub-iOS-Info.plist"; sourceTree = "<group>"; };
7915839E1BD7119E0084FC70 /* PubNub-watchOS-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "PubNub-watchOS-Info.plist"; sourceTree = "<group>"; };
7925DB821D3FFCAC00857C0D /* PNLLogger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PNLLogger.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -3489,6 +3494,7 @@
79CBB0401BD03D3F001FC34D /* PubNub */ = {
isa = PBXGroup;
children = (
3D5BE99C2BCD3DA30091ACA7 /* PrivacyInfo.xcprivacy */,
79CBB0411BD03D3F001FC34D /* PubNub.h */,
79CBB0551BD03DE4001FC34D /* Core */,
79CBB06B1BD03DE4001FC34D /* Data */,
Expand Down Expand Up @@ -5784,10 +5790,10 @@
isa = PBXNativeTarget;
buildConfigurationList = 791582A91BD709C60084FC70 /* Build configuration list for PBXNativeTarget "PubNub (iOS)" */;
buildPhases = (
791582A71BD709C60084FC70 /* Resources */,
791582081BD709C60084FC70 /* Sources */,
7915824D1BD709C60084FC70 /* Frameworks */,
791582511BD709C60084FC70 /* Headers */,
791582A71BD709C60084FC70 /* Resources */,
791582A81BD709C60084FC70 /* Copy Products */,
7988420F1C18AF98003E8948 /* Update module map */,
);
Expand Down Expand Up @@ -5930,27 +5936,31 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3D5BE9D22BCEB3660091ACA7 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
791583501BD709D10084FC70 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3D5BE9D42BCEB3680091ACA7 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
79A8BCBE1C58F93900015BDE /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3D5BE9D32BCEB3670091ACA7 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
79CBB03C1BD03D3F001FC34D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3D5BE9D52BCEB3680091ACA7 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
44 changes: 44 additions & 0 deletions Framework/PubNub/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?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>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeUserID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<true/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
</array>
</dict>
</plist>
1 change: 1 addition & 0 deletions PubNub.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Pod::Spec.new do |spec|
spec.osx.deployment_target = '11.00'
spec.tvos.deployment_target = '14.0'
spec.requires_arc = true
spec.resource_bundles = { "PubNub" => ["Framework/PubNub/PrivacyInfo.xcprivacy"]}

spec.subspec 'Core' do |core|
core.source_files = 'PubNub/{Core,Data,Modules,Misc,Network}/**/*', 'PubNub/PubNub.h'
Expand Down

0 comments on commit 05f67ab

Please sign in to comment.