Skip to content

Commit

Permalink
Piwik PRO SDK for iOS VERSION 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mandrzej authored Jun 10, 2024
1 parent ac79820 commit 8dbe82d
Show file tree
Hide file tree
Showing 15 changed files with 60 additions and 31 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Changelog
All notable changes to this project will be documented in this file.

## 1.2.5 - 10.06.2024

### Added
- `visitorIDLifetime` property.
The variable introduces the possibility of setting the expiry time of the visitorID. If the visitorID expires, a new visitorID will be created automatically. In the tracker, the user whose visitorID expires will appear as a new visitor.
The mechanism needs the visitorID creation time to work properly. After upgrading to this version of the SDK, the visitorID creation time will be the time of the first SDK initialisation after the upgrade.
Default value for this variable is 0, which results in this feature being disabled.
The `visitorIDLifetime` is in seconds.

## 1.2.4 - 30.04.2024

### Added
Expand Down
2 changes: 1 addition & 1 deletion PiwikPROSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

s.name = "PiwikPROSDK"
s.version = "1.2.4"
s.version = "1.2.5"
s.summary = "Piwik PRO SDK for iOS"

s.description = "SDK for iOS to measure your apps with Piwik PRO"
Expand Down
Binary file modified PiwikPROSDK.xcframework/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file modified PiwikPROSDK.xcframework/_CodeSignature/CodeRequirements-1
Binary file not shown.
54 changes: 27 additions & 27 deletions PiwikPROSDK.xcframework/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</data>
<key>ios-arm64/PiwikPROSDK.framework/Headers/PiwikTracker.h</key>
<data>
ikMRhnsKuqUPSDhw9F26gYKANbc=
qGb0Q1BaQ2aBtjil5Y0ctSH+CeY=
</data>
<key>ios-arm64/PiwikPROSDK.framework/Headers/PiwikTransaction.h</key>
<data>
Expand All @@ -42,15 +42,15 @@
</data>
<key>ios-arm64/PiwikPROSDK.framework/Info.plist</key>
<data>
cpD1nsNO1BTqzXmwgF1x6m3gEf8=
1knUeQ3pQhsc694w/DKn3SFulBI=
</data>
<key>ios-arm64/PiwikPROSDK.framework/Modules/module.modulemap</key>
<data>
lU/JW1hg7fmp9s8soaN917OTVus=
</data>
<key>ios-arm64/PiwikPROSDK.framework/PiwikPROSDK</key>
<data>
KVVviVHR74YGK3i38Z3sWVZiP2s=
6Y+InBzHB1TAV1BvDo3Oi4krk9M=
</data>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/Headers/EcommerceProducts.h</key>
<data>
Expand All @@ -70,7 +70,7 @@
</data>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/Headers/PiwikTracker.h</key>
<data>
ikMRhnsKuqUPSDhw9F26gYKANbc=
qGb0Q1BaQ2aBtjil5Y0ctSH+CeY=
</data>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/Headers/PiwikTransaction.h</key>
<data>
Expand All @@ -90,31 +90,31 @@
</data>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/Info.plist</key>
<data>
MtKpVPVXANHBGN5lRhvcXdpII/s=
i0lKUL0otDQvNxY+bGsjTvGYOJw=
</data>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/Modules/module.modulemap</key>
<data>
lU/JW1hg7fmp9s8soaN917OTVus=
</data>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/PiwikPROSDK</key>
<data>
OXCmc4B0XR3F+n8nLnmBXw/QaPY=
UFE5yn6SxJKhZNhxY2a5ABjCM98=
</data>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/_CodeSignature/CodeDirectory</key>
<data>
p2ZtmnaBf03Z05XTOqSb1zJrkQk=
CdzI1x7PWHgd+uhQq6d0JISOMvM=
</data>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/_CodeSignature/CodeRequirements</key>
<data>
OnX22wWFKRSOFN1+obRynMCeyXM=
</data>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/_CodeSignature/CodeRequirements-1</key>
<data>
IQcMjqPH9fmVkd54cO6KFKZLzR4=
ypLq2yPyyUoGcj+e/DcyXDthoao=
</data>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/_CodeSignature/CodeResources</key>
<data>
nWWp4NM2+EEPqY3x/3soJRShoZw=
AA8DRGGYXXKdaAVePdXbBzKvXHw=
</data>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/_CodeSignature/CodeSignature</key>
<data>
Expand Down Expand Up @@ -171,11 +171,11 @@
<dict>
<key>hash</key>
<data>
ikMRhnsKuqUPSDhw9F26gYKANbc=
qGb0Q1BaQ2aBtjil5Y0ctSH+CeY=
</data>
<key>hash2</key>
<data>
YEwbmIfRsVx2LJn/wAHKcPPrsFYVTw2GT01vVW7ARwI=
ttdiLcemPC8u4etx8UVqOCyZ5V7ykYqatO0uIXsfk9w=
</data>
</dict>
<key>ios-arm64/PiwikPROSDK.framework/Headers/PiwikTransaction.h</key>
Expand Down Expand Up @@ -226,11 +226,11 @@
<dict>
<key>hash</key>
<data>
cpD1nsNO1BTqzXmwgF1x6m3gEf8=
1knUeQ3pQhsc694w/DKn3SFulBI=
</data>
<key>hash2</key>
<data>
VpW5ndMAFm+6vgqHISeqaM0VEgCWimfc4e4Le+VNMw4=
a7053eMR+w1K2Co8Sb5AtK2/YiS+9fpTdhhdEwCo/Wg=
</data>
</dict>
<key>ios-arm64/PiwikPROSDK.framework/Modules/module.modulemap</key>
Expand All @@ -248,11 +248,11 @@
<dict>
<key>hash</key>
<data>
KVVviVHR74YGK3i38Z3sWVZiP2s=
6Y+InBzHB1TAV1BvDo3Oi4krk9M=
</data>
<key>hash2</key>
<data>
iK3yLPePUsZ08RnEZa6n12ghBWR4++7qZ/QMsvRidWk=
n99IRE8DSiz/9GvaBnlMJKdmgxduxZV4mBod28+7jH8=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/Headers/EcommerceProducts.h</key>
Expand Down Expand Up @@ -303,11 +303,11 @@
<dict>
<key>hash</key>
<data>
ikMRhnsKuqUPSDhw9F26gYKANbc=
qGb0Q1BaQ2aBtjil5Y0ctSH+CeY=
</data>
<key>hash2</key>
<data>
YEwbmIfRsVx2LJn/wAHKcPPrsFYVTw2GT01vVW7ARwI=
ttdiLcemPC8u4etx8UVqOCyZ5V7ykYqatO0uIXsfk9w=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/Headers/PiwikTransaction.h</key>
Expand Down Expand Up @@ -358,11 +358,11 @@
<dict>
<key>hash</key>
<data>
MtKpVPVXANHBGN5lRhvcXdpII/s=
i0lKUL0otDQvNxY+bGsjTvGYOJw=
</data>
<key>hash2</key>
<data>
9r2pz9J1GSOm3Ukn5x+eFtsIVulx+Rpsunzw1d3gYKA=
Fae+IsRC/F+LH6Ww9JpzpSh0CuZixwTQiQ2dS4BwXaU=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/Modules/module.modulemap</key>
Expand All @@ -380,22 +380,22 @@
<dict>
<key>hash</key>
<data>
OXCmc4B0XR3F+n8nLnmBXw/QaPY=
UFE5yn6SxJKhZNhxY2a5ABjCM98=
</data>
<key>hash2</key>
<data>
uaYKzaxaRbFnOj2CkNS1bWNcj+dMfQ1dMEUqGZy8w4w=
qn7OFBewIpmG8/0NORBOfpKv6f9MguGStwVHchuCc1k=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/_CodeSignature/CodeDirectory</key>
<dict>
<key>hash</key>
<data>
p2ZtmnaBf03Z05XTOqSb1zJrkQk=
CdzI1x7PWHgd+uhQq6d0JISOMvM=
</data>
<key>hash2</key>
<data>
O6rEVNKprzwMoBLowYrkkfJbm9FOp9OJMYECNjLW50U=
BHzjcU5HdyC7lhkVFQSv5GXJ40Llt7Dw0wjMwn2YYYk=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/_CodeSignature/CodeRequirements</key>
Expand All @@ -413,22 +413,22 @@
<dict>
<key>hash</key>
<data>
IQcMjqPH9fmVkd54cO6KFKZLzR4=
ypLq2yPyyUoGcj+e/DcyXDthoao=
</data>
<key>hash2</key>
<data>
+DlxFUznSFYM71nAh/u3go+bmNUOz2g8KXe6lWjmhA0=
HNBUS4bpYKnVWPAZozhko1LUQgliWUwwNNcgz0Mbzz4=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/_CodeSignature/CodeResources</key>
<dict>
<key>hash</key>
<data>
nWWp4NM2+EEPqY3x/3soJRShoZw=
AA8DRGGYXXKdaAVePdXbBzKvXHw=
</data>
<key>hash2</key>
<data>
QTDP4S/9RP8M4dF3hpJywWHfsiEEO6W9nPJ1WqVydeg=
Cy0jqSOkMfTZHBPV+9sLXqUQMkpvqZ2uyq8zgj3tk7o=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/PiwikPROSDK.framework/_CodeSignature/CodeSignature</key>
Expand Down
Binary file modified PiwikPROSDK.xcframework/_CodeSignature/CodeSignature
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,16 @@ typedef NS_ENUM(NSUInteger, CustomVariableScope)
*/
@property (nonatomic, assign) NSTimeInterval sessionTimeout;

/**
The `visitorIDLifetime` parameter determines the length of time, in seconds, that the visitor ID can be used before it expires and is considered invalid.
When a visitor ID expires, a new visitor ID is generated and all parameters related to the user's activity, e.g. the time of the first event sent, are deleted.
In the tracker, this simulates the behavior of the new visitor.
If the value of this parameter is less or equal to 0, the visitorID has the expiry time disabled.
The default value of this parameter is 0.
When the SDK is upgraded to a newer version, the creation time of the visitorID is the time of the first initialisation of the SDK after the upgrade.
*/
@property (nonatomic, assign) NSTimeInterval visitorIDLifetime;

//MARK: - Track screen views, events, goals and more

/**
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,16 @@ typedef NS_ENUM(NSUInteger, CustomVariableScope)
*/
@property (nonatomic, assign) NSTimeInterval sessionTimeout;

/**
The `visitorIDLifetime` parameter determines the length of time, in seconds, that the visitor ID can be used before it expires and is considered invalid.
When a visitor ID expires, a new visitor ID is generated and all parameters related to the user's activity, e.g. the time of the first event sent, are deleted.
In the tracker, this simulates the behavior of the new visitor.
If the value of this parameter is less or equal to 0, the visitorID has the expiry time disabled.
The default value of this parameter is 0.
When the SDK is upgraded to a newer version, the creation time of the visitorID is the time of the first initialisation of the SDK after the upgrade.
*/
@property (nonatomic, assign) NSTimeInterval visitorIDLifetime;

//MARK: - Track screen views, events, goals and more

/**
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</data>
<key>Headers/PiwikTracker.h</key>
<data>
ikMRhnsKuqUPSDhw9F26gYKANbc=
qGb0Q1BaQ2aBtjil5Y0ctSH+CeY=
</data>
<key>Headers/PiwikTransaction.h</key>
<data>
Expand Down Expand Up @@ -99,11 +99,11 @@
<dict>
<key>hash</key>
<data>
ikMRhnsKuqUPSDhw9F26gYKANbc=
qGb0Q1BaQ2aBtjil5Y0ctSH+CeY=
</data>
<key>hash2</key>
<data>
YEwbmIfRsVx2LJn/wAHKcPPrsFYVTw2GT01vVW7ARwI=
ttdiLcemPC8u4etx8UVqOCyZ5V7ykYqatO0uIXsfk9w=
</data>
</dict>
<key>Headers/PiwikTransaction.h</key>
Expand Down

0 comments on commit 8dbe82d

Please sign in to comment.