Skip to content

Commit

Permalink
♻️ Track device updated events immediately, so no delay on BE availab…
Browse files Browse the repository at this point in the history
…ility to push
  • Loading branch information
iujames committed Sep 17, 2024
1 parent 6001714 commit 0e1769e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/AppcuesKit/Push/PushMonitor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ internal class PushMonitor: PushMonitoring {

if appcues?.sessionID != nil {
analyticsPublisher.publish(TrackingUpdate(
type: .event(name: Events.Device.deviceUpdated.rawValue, interactive: false),
type: .event(name: Events.Device.deviceUpdated.rawValue, interactive: true),
isInternal: true
))
}
Expand All @@ -95,7 +95,7 @@ internal class PushMonitor: PushMonitoring {

if shouldPublish {
self?.analyticsPublisher.publish(TrackingUpdate(
type: .event(name: Events.Device.deviceUpdated.rawValue, interactive: false),
type: .event(name: Events.Device.deviceUpdated.rawValue, interactive: true),
isInternal: true
))
}
Expand Down

0 comments on commit 0e1769e

Please sign in to comment.