Skip to content

Commit

Permalink
Set TracksService.platform property to wpios for WordPress and Jetpack
Browse files Browse the repository at this point in the history
  • Loading branch information
salimbraksa committed May 2, 2023
1 parent bffae92 commit 7084790
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ - (instancetype)init
_contextManager = [TracksContextManager new];
_tracksService = [[TracksService alloc] initWithContextManager:_contextManager];
_tracksService.eventNamePrefix = AppConstants.eventNamePrefix;
_tracksService.platform = AppConstants.explatPlatform;
}
return self;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import WordPressAuthenticator
static let shareAppName: ShareAppName = .wordpress
static let mobileAnnounceAppId = "2"
@objc static let eventNamePrefix = "wpios"
@objc static let explatPlatform = "wpios"
@objc static let authKeychainServiceName = "public-api.wordpress.com"

/// Notifications Constants
Expand Down
1 change: 1 addition & 0 deletions WordPress/Jetpack/AppConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import WordPressKit
static let shareAppName: ShareAppName = .jetpack
static let mobileAnnounceAppId = "6"
@objc static let eventNamePrefix = "jpios"
@objc static let explatPlatform = "wpios"
@objc static let authKeychainServiceName = "jetpack.public-api.wordpress.com"

/// Notifications Constants
Expand Down

0 comments on commit 7084790

Please sign in to comment.