Skip to content

Commit

Permalink
Merge pull request #72 from xendit/release/3.8.3
Browse files Browse the repository at this point in the history
Added privacy manifest file
  • Loading branch information
duong-xendit authored Apr 1, 2024
2 parents b7be6e2 + 2d30388 commit e68e451
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 8 deletions.
6 changes: 5 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ let package = Package(
"XenditObjC",
.product(name: "Sentry", package: "sentry-cocoa"),
],
exclude: ["Info.plist"]),
exclude: ["Info.plist"],
resources: [
.process("PrivacyInfo.xcprivacy")
]
),
.target(
name: "XenditObjC",
dependencies: [],
Expand Down
27 changes: 27 additions & 0 deletions Sources/Xendit/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?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>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCrashData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
</dict>
</plist>
5 changes: 4 additions & 1 deletion Xendit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Xendit'
s.version = '3.8.2'
s.version = '3.8.3'
s.license = 'MIT'
s.homepage = 'https://www.xendit.co'
s.author = { 'Juan Gonzalez’' => '[email protected]' }
Expand All @@ -11,6 +11,9 @@ Pod::Spec.new do |s|

s.platform = :ios, '9.0'
s.ios.deployment_target = '9.0'
s.resource_bundles = {
'Xendit' => ['Sources/Xendit/PrivacyInfo.xcprivacy']
}

s.default_subspec = 'Default'
# Default subspec that includes the most commonly-used components
Expand Down
13 changes: 7 additions & 6 deletions Xendit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
644E27A82BB2A82E007B0F1D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
OBJ_10 /* Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Extensions.swift; sourceTree = "<group>"; };
OBJ_100 /* SentryBaggage.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryBaggage.m; sourceTree = "<group>"; };
OBJ_101 /* SentryBaseIntegration.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryBaseIntegration.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -749,9 +750,9 @@
OBJ_383 /* HTTPStubsResponse.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HTTPStubsResponse.h; sourceTree = "<group>"; };
OBJ_384 /* NSURLRequest+HTTPBodyTesting.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSURLRequest+HTTPBodyTesting.h"; sourceTree = "<group>"; };
OBJ_385 /* HTTPStubs.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HTTPStubs.h; sourceTree = "<group>"; };
OBJ_386 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = module.modulemap; path = "Xendit.xcodeproj/GeneratedModuleMap/OHHTTPStubs/module.modulemap"; sourceTree = "<group>"; };
OBJ_386 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = module.modulemap; path = Xendit.xcodeproj/GeneratedModuleMap/OHHTTPStubs/module.modulemap; sourceTree = "<group>"; };
OBJ_388 /* OHHTTPStubsSwift.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OHHTTPStubsSwift.swift; sourceTree = "<group>"; };
OBJ_389 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; name = Package.swift; path = ".build/checkouts/OHHTTPStubs/Package.swift"; sourceTree = "<group>"; };
OBJ_389 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; name = Package.swift; path = .build/checkouts/OHHTTPStubs/Package.swift; sourceTree = "<group>"; };
OBJ_40 /* AuthenticationWebviewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthenticationWebviewController.swift; sourceTree = "<group>"; };
OBJ_401 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
OBJ_402 /* Xendit.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = Xendit.podspec; sourceTree = "<group>"; };
Expand All @@ -768,7 +769,7 @@
OBJ_54 /* IDFAHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = IDFAHelper.h; sourceTree = "<group>"; };
OBJ_55 /* Xendit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Xendit.h; sourceTree = "<group>"; };
OBJ_56 /* ISHLogDNAService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ISHLogDNAService.h; sourceTree = "<group>"; };
OBJ_57 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = module.modulemap; path = "Sources/XenditObjC/include/module.modulemap"; sourceTree = "<group>"; };
OBJ_57 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; name = module.modulemap; path = Sources/XenditObjC/include/module.modulemap; sourceTree = "<group>"; };
OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
OBJ_60 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
OBJ_61 /* CardDataTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CardDataTest.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1223,7 +1224,7 @@
path = LogDNA;
sourceTree = "<group>";
};
OBJ_5 /* */ = {
OBJ_5 = {
isa = PBXGroup;
children = (
OBJ_6 /* Package.swift */,
Expand All @@ -1236,7 +1237,6 @@
OBJ_404 /* README.md */,
OBJ_405 /* cortex.yaml */,
);
name = "";
sourceTree = "<group>";
};
OBJ_51 /* Utils */ = {
Expand Down Expand Up @@ -1563,6 +1563,7 @@
OBJ_44 /* XDTSentry.swift */,
OBJ_45 /* Xendit.swift */,
OBJ_46 /* XenditError.swift */,
644E27A82BB2A82E007B0F1D /* PrivacyInfo.xcprivacy */,
);
name = Xendit;
path = Sources/Xendit;
Expand Down Expand Up @@ -1805,7 +1806,7 @@
knownRegions = (
en,
);
mainGroup = OBJ_5 /* */;
mainGroup = OBJ_5;
productRefGroup = OBJ_390 /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down

0 comments on commit e68e451

Please sign in to comment.