diff --git a/Framework/Info.plist b/Framework/Info.plist index ff81f4f5..fe8f3706 100644 --- a/Framework/Info.plist +++ b/Framework/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 5.8.1 + 5.8.2 CFBundleSignature ???? CFBundleVersion diff --git a/Package.swift b/Package.swift index 60298e8d..a61a1ae5 100644 --- a/Package.swift +++ b/Package.swift @@ -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") + ])] ) diff --git a/Podfile.lock b/Podfile.lock index 2bacb10b..f9c97b09 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -97,4 +97,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 578415250db59f137d92c9b1ce32646ae18974ba -COCOAPODS: 1.13.0 +COCOAPODS: 1.11.3 diff --git a/Qonversion.podspec b/Qonversion.podspec index 4a57bba5..877c7b86 100644 --- a/Qonversion.podspec +++ b/Qonversion.podspec @@ -3,7 +3,7 @@ Pod::Spec.new do |s| idfa_exclude_files = ['Sources/Qonversion/IDFA'] s.name = 'Qonversion' s.swift_version = '5.5' - s.version = '5.8.1' + s.version = '5.8.2' s.summary = 'qonversion.io' s.description = <<-DESC Deep Analytics for iOS Subscriptions diff --git a/Qonversion.xcodeproj/project.pbxproj b/Qonversion.xcodeproj/project.pbxproj index e1952be9..55a11dc1 100644 --- a/Qonversion.xcodeproj/project.pbxproj +++ b/Qonversion.xcodeproj/project.pbxproj @@ -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 */; }; @@ -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 */; }; @@ -271,7 +272,7 @@ remoteGlobalIDString = 454EF63B24E5CC580070581E; remoteInfo = Sample; }; - 701922832B10DF2200724926 /* PBXContainerItemProxy */ = { + 70D8BAFF2BB70CFF00859723 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 459DAB60243E329F0011ECF3 /* Project object */; proxyType = 1; @@ -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; @@ -398,6 +399,7 @@ 70D0E2B6291A9BE3004E8DE8 /* QONConfiguration.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QONConfiguration.h; sourceTree = ""; }; 70D0E2B7291A9BE3004E8DE8 /* QONConfiguration.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = QONConfiguration.m; sourceTree = ""; }; 70D0E2BA291AA21C004E8DE8 /* QONLaunchMode.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = QONLaunchMode.h; sourceTree = ""; }; + 70D8BAFB2BB70CE800859723 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; 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 = ""; }; 70EC019C29EEE94300E686E2 /* StoreKit2Service.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StoreKit2Service.swift; sourceTree = ""; }; @@ -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 */, ); @@ -675,6 +677,8 @@ 459DAB6B243E329F0011ECF3 /* Sources */ = { isa = PBXGroup; children = ( + 70D8BAFB2BB70CE800859723 /* PrivacyInfo.xcprivacy */, + 70283DF529F66FAC00D138BC /* Swift */, 895731B426DD03A2009507A6 /* Qonversion */, ); path = Sources; @@ -927,7 +931,6 @@ 895731B426DD03A2009507A6 /* Qonversion */ = { isa = PBXGroup; children = ( - 70283DF529F66FAC00D138BC /* Swift */, 895731B526DD03A2009507A6 /* IDFA */, 895731B826DD03A2009507A6 /* Public */, 895731DD26DD03A2009507A6 /* Automations */, @@ -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; @@ -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 */, @@ -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 */ diff --git a/Sources/PrivacyInfo.xcprivacy b/Sources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000..b48804f3 --- /dev/null +++ b/Sources/PrivacyInfo.xcprivacy @@ -0,0 +1,34 @@ + + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypePurchaseHistory + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + + + NSPrivacyTracking + + + diff --git a/Sources/Qonversion/Public/QONConfiguration.m b/Sources/Qonversion/Public/QONConfiguration.m index 9a642514..0b58aba9 100644 --- a/Sources/Qonversion/Public/QONConfiguration.m +++ b/Sources/Qonversion/Public/QONConfiguration.m @@ -9,7 +9,7 @@ #import "QONConfiguration.h" #import "QNAPIConstants.h" -static NSString *const kSDKVersion = @"5.8.1"; +static NSString *const kSDKVersion = @"5.8.2"; @interface QONConfiguration () diff --git a/Sources/Qonversion/Public/QONLaunchResult.h b/Sources/Qonversion/Public/QONLaunchResult.h index fdc57f6b..d785fa8d 100644 --- a/Sources/Qonversion/Public/QONLaunchResult.h +++ b/Sources/Qonversion/Public/QONLaunchResult.h @@ -62,7 +62,7 @@ typedef void (^QONEligibilityCompletionHandler)(NSDictionary + - +