Skip to content

Commit

Permalink
3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
piano-analytics committed Mar 15, 2023
1 parent 14480ba commit 0c0e8fd
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion PianoAnalytics-AppExtension.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PianoAnalytics-AppExtension'
s.version = '3.0.2'
s.version = '3.0.3'
s.summary = 'Piano Analytics solution for extension Apple devices'
s.homepage = 'https://github.com/at-internet/piano-analytics-apple'
s.documentation_url = 'https://developers.atinternet-solutions.com/piano-analytics'
Expand Down
2 changes: 1 addition & 1 deletion PianoAnalytics.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'PianoAnalytics'
s.version = '3.0.2'
s.version = '3.0.3'
s.summary = 'Piano Analytics library for Apple devices'
s.homepage = 'https://github.com/at-internet/piano-analytics-apple'
s.documentation_url = 'https://developers.atinternet-solutions.com/piano-analytics'
Expand Down
11 changes: 5 additions & 6 deletions PianoAnalytics.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
name = Products;
sourceTree = BUILT_PRODUCTS_DIR;
};
OBJ_5 /* */ = {
OBJ_5 = {
isa = PBXGroup;
children = (
OBJ_6 /* Package.swift */,
Expand All @@ -225,7 +225,6 @@
OBJ_53 /* README.md */,
OBJ_54 /* PianoAnalytics-AppExtension.podspec */,
);
name = "";
sourceTree = "<group>";
};
OBJ_7 /* Sources */ = {
Expand All @@ -239,14 +238,14 @@
OBJ_8 /* PianoAnalytics */ = {
isa = PBXGroup;
children = (
OBJ_9 /* default.json */,
OBJ_10 /* AVInsights */,
OBJ_12 /* Configuration.swift */,
OBJ_13 /* Core */,
OBJ_24 /* Steps */,
OBJ_12 /* Configuration.swift */,
OBJ_9 /* default.json */,
OBJ_21 /* Event.swift */,
OBJ_22 /* Model.swift */,
OBJ_23 /* PianoAnalytics.swift */,
OBJ_24 /* Steps */,
OBJ_38 /* User.swift */,
);
name = PianoAnalytics;
Expand Down Expand Up @@ -320,7 +319,7 @@
knownRegions = (
en,
);
mainGroup = OBJ_5 /* */;
mainGroup = OBJ_5;
productRefGroup = OBJ_48 /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down
2 changes: 1 addition & 1 deletion Sources/PianoAnalytics/Core/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ public struct PA {
"device_timestamp_utc"
]]
static let ForbiddenProperties: [String: Set<String>] = [:]
static let AllowedStorage: Set<String> = [PA.Privacy.Storage.Crash, PA.Privacy.Storage.Privacy, PA.Privacy.Storage.User]
static let AllowedStorage: Set<String> = [PA.Privacy.Storage.Crash, PA.Privacy.Storage.Privacy, PA.Privacy.Storage.User, PA.Privacy.Storage.VisitorId]
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ final class InternalContextPropertiesStep: Step {
ManufacturerProperty: Manufacturer,
String(format: OsPropertiesFormat, "group"): osName,
String(format: OsPropertiesFormat, "version"): osVersion,
String(format: OsPropertiesFormat, "name"): String(format: "%@ %@", osName, osVersion)
OsProperty: String(format: "%@ %@", osName, osVersion)
]
}

Expand Down Expand Up @@ -116,14 +116,15 @@ final class InternalContextPropertiesStep: Step {
static let DeviceScreenPropertiesFormat = "device_screen%@"
static let DeviceScreenDiagonalProperty = String(format: DeviceScreenPropertiesFormat, "_diagonal")
static let AppVersionProperty = "app_version"
static let ManufacturerProperty = "manufacturer"
static let ModelProperty = "model"
static let ManufacturerProperty = "device_manufacturer"
static let ModelProperty = "device_model"
static let OsProperty = "os"
static let OsPropertiesFormat = "os_%@"
static let EventCollectionPropertiesFormat = "event_collection_%@"
static let BrowserLanguagePropertiesFormat = "browser_language%@"

private static let Manufacturer = "Apple"
private static let EventCollectionVersion = "3.0.2"
private static let EventCollectionVersion = "3.0.3"

#if os(tvOS)
private static let Platform = "tvOS"
Expand Down

0 comments on commit 0c0e8fd

Please sign in to comment.