Skip to content

Commit 048f3c4

Browse files
authored
Update UserAgent to be backward compatible (#304)
2 parents 79a8af0 + 54a7ade commit 048f3c4

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

Automattic-Tracks-iOS.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |s|
44
s.name = 'Automattic-Tracks-iOS'
5-
s.version = '3.5.3'
5+
s.version = '3.5.4'
66

77
s.summary = 'Simple way to track events in an iOS app with Automattic Tracks internal service'
88
s.description = <<-DESC

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ _None._
4848

4949
_None._
5050

51+
## 3.5.4
52+
53+
### Internal Changes
54+
55+
- Make user agent compatible with existing values [#304]
56+
5157
## 3.5.3
5258

5359
### Internal Changes

Sources/Event Logging/TracksService.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ - (NSString *)userAgent
475475
NSString *deviceModel = self.deviceInformation.model;
476476
NSString *osName = self.deviceInformation.os;
477477
NSString *osVersion = self.deviceInformation.version;
478-
return [NSString stringWithFormat:@"Nosara Client %@ for %@, %@:%@", TracksLibraryVersion, deviceModel, osName, osVersion];
478+
return [NSString stringWithFormat:@"Nosara Client for %@; %@/%@; %@", deviceModel, osName, osVersion, TracksLibraryVersion];
479479
#endif
480480

481481
#if TARGET_OS_MAC
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#import "TracksConstants.h"
22

33
NSString *const TracksErrorDomain = @"TracksErrorDomain";
4-
NSString *const TracksLibraryVersion = @"3.5.3";
4+
NSString *const TracksLibraryVersion = @"3.5.4";

0 commit comments

Comments
 (0)