Skip to content

Commit e68e451

Browse files
authored
Merge pull request #72 from xendit/release/3.8.3
Added privacy manifest file
2 parents b7be6e2 + 2d30388 commit e68e451

File tree

4 files changed

+43
-8
lines changed

4 files changed

+43
-8
lines changed

Package.swift

+5-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ let package = Package(
3030
"XenditObjC",
3131
.product(name: "Sentry", package: "sentry-cocoa"),
3232
],
33-
exclude: ["Info.plist"]),
33+
exclude: ["Info.plist"],
34+
resources: [
35+
.process("PrivacyInfo.xcprivacy")
36+
]
37+
),
3438
.target(
3539
name: "XenditObjC",
3640
dependencies: [],

Sources/Xendit/PrivacyInfo.xcprivacy

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyTracking</key>
6+
<false/>
7+
<key>NSPrivacyTrackingDomains</key>
8+
<array/>
9+
<key>NSPrivacyCollectedDataTypes</key>
10+
<array>
11+
<dict>
12+
<key>NSPrivacyCollectedDataType</key>
13+
<string>NSPrivacyCollectedDataTypeCrashData</string>
14+
<key>NSPrivacyCollectedDataTypeLinked</key>
15+
<false/>
16+
<key>NSPrivacyCollectedDataTypeTracking</key>
17+
<false/>
18+
<key>NSPrivacyCollectedDataTypePurposes</key>
19+
<array>
20+
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
21+
</array>
22+
</dict>
23+
</array>
24+
<key>NSPrivacyAccessedAPITypes</key>
25+
<array/>
26+
</dict>
27+
</plist>

Xendit.podspec

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Xendit'
3-
s.version = '3.8.2'
3+
s.version = '3.8.3'
44
s.license = 'MIT'
55
s.homepage = 'https://www.xendit.co'
66
s.author = { 'Juan Gonzalez’' => '[email protected]' }
@@ -11,6 +11,9 @@ Pod::Spec.new do |s|
1111

1212
s.platform = :ios, '9.0'
1313
s.ios.deployment_target = '9.0'
14+
s.resource_bundles = {
15+
'Xendit' => ['Sources/Xendit/PrivacyInfo.xcprivacy']
16+
}
1417

1518
s.default_subspec = 'Default'
1619
# Default subspec that includes the most commonly-used components

Xendit.xcodeproj/project.pbxproj

+7-6
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@
454454
/* End PBXContainerItemProxy section */
455455

456456
/* Begin PBXFileReference section */
457+
644E27A82BB2A82E007B0F1D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
457458
OBJ_10 /* Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Extensions.swift; sourceTree = "<group>"; };
458459
OBJ_100 /* SentryBaggage.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryBaggage.m; sourceTree = "<group>"; };
459460
OBJ_101 /* SentryBaseIntegration.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryBaseIntegration.m; sourceTree = "<group>"; };
@@ -749,9 +750,9 @@
749750
OBJ_383 /* HTTPStubsResponse.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HTTPStubsResponse.h; sourceTree = "<group>"; };
750751
OBJ_384 /* NSURLRequest+HTTPBodyTesting.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSURLRequest+HTTPBodyTesting.h"; sourceTree = "<group>"; };
751752
OBJ_385 /* HTTPStubs.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HTTPStubs.h; sourceTree = "<group>"; };
752-
OBJ_386 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = module.modulemap; path = "Xendit.xcodeproj/GeneratedModuleMap/OHHTTPStubs/module.modulemap"; sourceTree = "<group>"; };
753+
OBJ_386 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = module.modulemap; path = Xendit.xcodeproj/GeneratedModuleMap/OHHTTPStubs/module.modulemap; sourceTree = "<group>"; };
753754
OBJ_388 /* OHHTTPStubsSwift.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OHHTTPStubsSwift.swift; sourceTree = "<group>"; };
754-
OBJ_389 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; name = Package.swift; path = ".build/checkouts/OHHTTPStubs/Package.swift"; sourceTree = "<group>"; };
755+
OBJ_389 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; name = Package.swift; path = .build/checkouts/OHHTTPStubs/Package.swift; sourceTree = "<group>"; };
755756
OBJ_40 /* AuthenticationWebviewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthenticationWebviewController.swift; sourceTree = "<group>"; };
756757
OBJ_401 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
757758
OBJ_402 /* Xendit.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = Xendit.podspec; sourceTree = "<group>"; };
@@ -768,7 +769,7 @@
768769
OBJ_54 /* IDFAHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IDFAHelper.h; sourceTree = "<group>"; };
769770
OBJ_55 /* Xendit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Xendit.h; sourceTree = "<group>"; };
770771
OBJ_56 /* ISHLogDNAService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISHLogDNAService.h; sourceTree = "<group>"; };
771-
OBJ_57 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = module.modulemap; path = "Sources/XenditObjC/include/module.modulemap"; sourceTree = "<group>"; };
772+
OBJ_57 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = module.modulemap; path = Sources/XenditObjC/include/module.modulemap; sourceTree = "<group>"; };
772773
OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
773774
OBJ_60 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
774775
OBJ_61 /* CardDataTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CardDataTest.swift; sourceTree = "<group>"; };
@@ -1223,7 +1224,7 @@
12231224
path = LogDNA;
12241225
sourceTree = "<group>";
12251226
};
1226-
OBJ_5 /* */ = {
1227+
OBJ_5 = {
12271228
isa = PBXGroup;
12281229
children = (
12291230
OBJ_6 /* Package.swift */,
@@ -1236,7 +1237,6 @@
12361237
OBJ_404 /* README.md */,
12371238
OBJ_405 /* cortex.yaml */,
12381239
);
1239-
name = "";
12401240
sourceTree = "<group>";
12411241
};
12421242
OBJ_51 /* Utils */ = {
@@ -1563,6 +1563,7 @@
15631563
OBJ_44 /* XDTSentry.swift */,
15641564
OBJ_45 /* Xendit.swift */,
15651565
OBJ_46 /* XenditError.swift */,
1566+
644E27A82BB2A82E007B0F1D /* PrivacyInfo.xcprivacy */,
15661567
);
15671568
name = Xendit;
15681569
path = Sources/Xendit;
@@ -1805,7 +1806,7 @@
18051806
knownRegions = (
18061807
en,
18071808
);
1808-
mainGroup = OBJ_5 /* */;
1809+
mainGroup = OBJ_5;
18091810
productRefGroup = OBJ_390 /* Products */;
18101811
projectDirPath = "";
18111812
projectRoot = "";

0 commit comments

Comments
 (0)