Skip to content

Commit

Permalink
Updated manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankmara committed Apr 10, 2024
1 parent a3eb974 commit 279762d
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ExponeaSDK-Notifications.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Pod::Spec.new do |s|
#

s.source_files = ["ExponeaSDK/ExponeaSDK-Notifications/**/*.swift", "ExponeaSDK/ExponeaSDKShared/**/*.swift"]
s.resource_bundles = {'ExponeaSDK-Notifications' => ['ExponeaSDK/PrivacyInfo.xcprivacy']}
s.resource_bundles = {'ExponeaSDK-Notifications' => ['ExponeaSDK/ExponeaSDK-Notifications/Supporting Files/PrivacyInfo.xcprivacy']}
s.exclude_files = "ExponeaSDK/ExponeaSDK/**/*"
s.weak_frameworks = "UserNotifications"

Expand Down
2 changes: 1 addition & 1 deletion ExponeaSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Pod::Spec.new do |s|
"ExponeaSDK/ExponeaSDKObjC/objc_tryCatch.h",
"ExponeaSDK/ExponeaSDKObjC/objc_tryCatch.m",
]
s.resource_bundles = {'ExponeaSDK' => ['ExponeaSDK/PrivacyInfo.xcprivacy']}
s.resource_bundles = {'ExponeaSDK' => ['ExponeaSDK/ExponeaSDK/Supporting Files/PrivacyInfo.xcprivacy']}
s.exclude_files = "ExponeaSDK/ExponeaSDK-Notifications/**/*"
s.resources = ["ExponeaSDK/ExponeaSDK/Classes/Database/*.xcdatamodeld"]
s.dependency 'SwiftSoup', '2.6.1'
Expand Down
File renamed without changes.
4 changes: 0 additions & 4 deletions ExponeaSDK/ExponeaSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@
05FEBDC223A7C940007C2372 /* MockInAppMessageTrackingDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05FEBDC123A7C940007C2372 /* MockInAppMessageTrackingDelegate.swift */; };
23E725E4214AA7A900B552B8 /* Reachability.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23E725E3214AA7A900B552B8 /* Reachability.swift */; };
315DCDFF2B6A67E9004BD7A7 /* beefree-actiontype.png in Resources */ = {isa = PBXBuildFile; fileRef = 315DCDFE2B6A67E9004BD7A7 /* beefree-actiontype.png */; };
317431CA2BBDADC5003FD69A /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 317431C92BBDADC5003FD69A /* PrivacyInfo.xcprivacy */; };
318B552A2A80E52B00934902 /* DeeplinkManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 318B55292A80E52B00934902 /* DeeplinkManager.swift */; };
31C7B4242A822848001BA5E2 /* Coordinator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31C7B4232A822848001BA5E2 /* Coordinator.swift */; };
31C7B4262A822FE7001BA5E2 /* ExponeaTabBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31C7B4252A822FE7001BA5E2 /* ExponeaTabBarController.swift */; };
Expand Down Expand Up @@ -713,7 +712,6 @@
05FEBDC123A7C940007C2372 /* MockInAppMessageTrackingDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MockInAppMessageTrackingDelegate.swift; sourceTree = "<group>"; };
23E725E3214AA7A900B552B8 /* Reachability.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Reachability.swift; sourceTree = "<group>"; };
315DCDFE2B6A67E9004BD7A7 /* beefree-actiontype.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "beefree-actiontype.png"; sourceTree = "<group>"; };
317431C92BBDADC5003FD69A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
318B55292A80E52B00934902 /* DeeplinkManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeeplinkManager.swift; sourceTree = "<group>"; };
31C7B4232A822848001BA5E2 /* Coordinator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Coordinator.swift; sourceTree = "<group>"; };
31C7B4252A822FE7001BA5E2 /* ExponeaTabBarController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExponeaTabBarController.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1955,7 +1953,6 @@
F021E84F206CF10200788ABC = {
isa = PBXGroup;
children = (
317431C92BBDADC5003FD69A /* PrivacyInfo.xcprivacy */,
C0F6C4E12098A1AB00834E21 /* Example */,
C08D53D221B9474E00EA2C13 /* ExampleNotificationContent */,
C0ED33A421A6FA31003649C3 /* ExampleNotificationService */,
Expand Down Expand Up @@ -2556,7 +2553,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
317431CA2BBDADC5003FD69A /* PrivacyInfo.xcprivacy in Resources */,
05E1A3812359B3A500E5EDDE /* .swiftlint.yml in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
77 changes: 77 additions & 0 deletions ExponeaSDK/ExponeaSDK/Supporting Files/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?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>
<true/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
<string>CA92.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCrashData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeAdvertisingData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<true/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
<string>NSPrivacyCollectedDataTypePurposeDeveloperAdvertising</string>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<true/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeDeveloperAdvertising</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeUserID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<true/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeDeveloperAdvertising</string>
</array>
</dict>
</array>
</dict>
</plist>
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@ let package = Package(
dependencies: ["ExponeaSDKShared", "ExponeaSDKObjC"],
path: "ExponeaSDK/ExponeaSDK",
exclude: ["Supporting Files/Info.plist"],
resources: [.copy("../PrivacyInfo.xcprivacy")]
resources: [.copy("Supporting Files/PrivacyInfo.xcprivacy")]
),
// Notification extension library
.target(
name: "ExponeaSDK-Notifications",
dependencies: ["ExponeaSDKShared"],
path: "ExponeaSDK/ExponeaSDK-Notifications",
exclude: ["Supporting Files/Info.plist"]
exclude: ["Supporting Files/Info.plist"],
resources: [.copy("Supporting Files/PrivacyInfo.xcprivacy")]
),
// Code shared between ExponeaSDK and ExponeaSDK-Notifications
.target(
Expand Down

0 comments on commit 279762d

Please sign in to comment.