Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/privacy info #480

Merged
merged 3 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,17 @@ let package = Package(
name: "Qonversion",
path: "Sources",
exclude: ["Swift"],
resources: [
.copy("../Sources/PrivacyInfo.xcprivacy")
],
publicHeadersPath: "Qonversion/Public",
cSettings: sources.map { .headerSearchPath($0) }),
.target(
name: "QonversionSwift",
dependencies: ["Qonversion"],
path: "Sources",
exclude: ["Qonversion"])]
exclude: ["Qonversion"],
resources: [
.copy("../Sources/PrivacyInfo.xcprivacy")
])]
)
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 578415250db59f137d92c9b1ce32646ae18974ba

COCOAPODS: 1.13.0
COCOAPODS: 1.11.3
26 changes: 15 additions & 11 deletions Qonversion.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@
701922732B10981200724926 /* QONSubscriptionPeriod.h in Headers */ = {isa = PBXBuildFile; fileRef = 701922712B10981200724926 /* QONSubscriptionPeriod.h */; settings = {ATTRIBUTES = (Public, ); }; };
701922742B10981200724926 /* QONSubscriptionPeriod.m in Sources */ = {isa = PBXBuildFile; fileRef = 701922722B10981200724926 /* QONSubscriptionPeriod.m */; };
701922762B10AB3300724926 /* QONSubscriptionPeriod+Protected.h in Headers */ = {isa = PBXBuildFile; fileRef = 701922752B10AB3300724926 /* QONSubscriptionPeriod+Protected.h */; };
701922812B10DF2200724926 /* Qonversion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 459DAB69243E329F0011ECF3 /* Qonversion.framework */; };
701922822B10DF2200724926 /* Qonversion.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 459DAB69243E329F0011ECF3 /* Qonversion.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
702394912923EBF3003126D5 /* QONNotificationsService.h in Headers */ = {isa = PBXBuildFile; fileRef = 7023948F2923EBF3003126D5 /* QONNotificationsService.h */; };
702394922923EBF3003126D5 /* QONNotificationsService.m in Sources */ = {isa = PBXBuildFile; fileRef = 702394902923EBF3003126D5 /* QONNotificationsService.m */; };
70283DF729F66FAC00D138BC /* PurchasesMapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70283DF629F66FAC00D138BC /* PurchasesMapper.swift */; };
Expand Down Expand Up @@ -90,6 +88,9 @@
70D0E2B8291A9BE3004E8DE8 /* QONConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = 70D0E2B6291A9BE3004E8DE8 /* QONConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; };
70D0E2B9291A9BE3004E8DE8 /* QONConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 70D0E2B7291A9BE3004E8DE8 /* QONConfiguration.m */; };
70D0E2BB291AA21C004E8DE8 /* QONLaunchMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 70D0E2BA291AA21C004E8DE8 /* QONLaunchMode.h */; settings = {ATTRIBUTES = (Public, ); }; };
70D8BAFC2BB70CE800859723 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 70D8BAFB2BB70CE800859723 /* PrivacyInfo.xcprivacy */; };
70D8BAFD2BB70CFF00859723 /* Qonversion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 459DAB69243E329F0011ECF3 /* Qonversion.framework */; };
70D8BAFE2BB70CFF00859723 /* Qonversion.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 459DAB69243E329F0011ECF3 /* Qonversion.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
70D9CBDF2B03BF07003F1878 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 70D9CBDE2B03BF07003F1878 /* StoreKit.framework */; };
70E99384291BC60A006E0A64 /* QONEnvironment.h in Headers */ = {isa = PBXBuildFile; fileRef = 70E99383291BC60A006E0A64 /* QONEnvironment.h */; settings = {ATTRIBUTES = (Public, ); }; };
70EC019D29EEE94300E686E2 /* StoreKit2Service.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70EC019C29EEE94300E686E2 /* StoreKit2Service.swift */; };
Expand Down Expand Up @@ -271,7 +272,7 @@
remoteGlobalIDString = 454EF63B24E5CC580070581E;
remoteInfo = Sample;
};
701922832B10DF2200724926 /* PBXContainerItemProxy */ = {
70D8BAFF2BB70CFF00859723 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 459DAB60243E329F0011ECF3 /* Project object */;
proxyType = 1;
Expand All @@ -281,13 +282,13 @@
/* End PBXContainerItemProxy section */

/* Begin PBXCopyFilesBuildPhase section */
701922852B10DF2200724926 /* Embed Frameworks */ = {
70D8BB012BB70CFF00859723 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
701922822B10DF2200724926 /* Qonversion.framework in Embed Frameworks */,
70D8BAFE2BB70CFF00859723 /* Qonversion.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -398,6 +399,7 @@
70D0E2B6291A9BE3004E8DE8 /* QONConfiguration.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QONConfiguration.h; sourceTree = "<group>"; };
70D0E2B7291A9BE3004E8DE8 /* QONConfiguration.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QONConfiguration.m; sourceTree = "<group>"; };
70D0E2BA291AA21C004E8DE8 /* QONLaunchMode.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QONLaunchMode.h; sourceTree = "<group>"; };
70D8BAFB2BB70CE800859723 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
70D9CBDE2B03BF07003F1878 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
70E99383291BC60A006E0A64 /* QONEnvironment.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QONEnvironment.h; sourceTree = "<group>"; };
70EC019C29EEE94300E686E2 /* StoreKit2Service.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StoreKit2Service.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -563,7 +565,7 @@
files = (
45754AE725814C7500FCA376 /* iAd.framework in Frameworks */,
891ECE0B2773614600DF6A56 /* AdServices.framework in Frameworks */,
701922812B10DF2200724926 /* Qonversion.framework in Frameworks */,
70D8BAFD2BB70CFF00859723 /* Qonversion.framework in Frameworks */,
70D9CBDF2B03BF07003F1878 /* StoreKit.framework in Frameworks */,
A2649CD29A7FDF280A2EC27C /* Pods_Sample.framework in Frameworks */,
);
Expand Down Expand Up @@ -675,6 +677,8 @@
459DAB6B243E329F0011ECF3 /* Sources */ = {
isa = PBXGroup;
children = (
70D8BAFB2BB70CE800859723 /* PrivacyInfo.xcprivacy */,
70283DF529F66FAC00D138BC /* Swift */,
895731B426DD03A2009507A6 /* Qonversion */,
);
path = Sources;
Expand Down Expand Up @@ -927,7 +931,6 @@
895731B426DD03A2009507A6 /* Qonversion */ = {
isa = PBXGroup;
children = (
70283DF529F66FAC00D138BC /* Swift */,
895731B526DD03A2009507A6 /* IDFA */,
895731B826DD03A2009507A6 /* Public */,
895731DD26DD03A2009507A6 /* Automations */,
Expand Down Expand Up @@ -1705,12 +1708,12 @@
454EF63924E5CC580070581E /* Frameworks */,
454EF63A24E5CC580070581E /* Resources */,
4CB079286CCC86BD200EEDB0 /* [CP] Embed Pods Frameworks */,
701922852B10DF2200724926 /* Embed Frameworks */,
70D8BB012BB70CFF00859723 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
701922842B10DF2200724926 /* PBXTargetDependency */,
70D8BB002BB70CFF00859723 /* PBXTargetDependency */,
);
name = Sample;
productName = Sample;
Expand Down Expand Up @@ -1844,6 +1847,7 @@
4531CBC824578D300022C422 /* Podfile in Resources */,
459DAB9A243E333C0011ECF3 /* README.md in Resources */,
459DABA6243E33470011ECF3 /* Appfile in Resources */,
70D8BAFC2BB70CE800859723 /* PrivacyInfo.xcprivacy in Resources */,
459DABA5243E33470011ECF3 /* report.junit in Resources */,
459DAB9C243E333C0011ECF3 /* Qonversion.podspec in Resources */,
459DABA7243E33470011ECF3 /* Fastfile in Resources */,
Expand Down Expand Up @@ -2114,10 +2118,10 @@
target = 454EF63B24E5CC580070581E /* Sample */;
targetProxy = 6A8A604C29DAD5CB008EC7D8 /* PBXContainerItemProxy */;
};
701922842B10DF2200724926 /* PBXTargetDependency */ = {
70D8BB002BB70CFF00859723 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 459DAB68243E329F0011ECF3 /* Qonversion */;
targetProxy = 701922832B10DF2200724926 /* PBXContainerItemProxy */;
targetProxy = 70D8BAFF2BB70CFF00859723 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */

Expand Down
34 changes: 34 additions & 0 deletions Sources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?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>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypePurchaseHistory</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
</dict>
</array>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>
Loading