Skip to content

Commit e1603bb

Browse files
authored
Merge pull request #6311 from segmentio/ashton-huxtable-patch-2
Add note about change in timestamp calculation
2 parents b6ed4e1 + 6e8b6ec commit e1603bb

File tree

1 file changed

+4
-1
lines changed
  • src/connections/sources/catalog/libraries/mobile/apple

1 file changed

+4
-1
lines changed

src/connections/sources/catalog/libraries/mobile/apple/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,8 @@ Analytics for Swift is built with extensibility in mind. Use the tools list belo
163163
If you proxy your events through the `apiHost` config option, you must forward the batched events to `https://api.segment.io/v1/b`. The `https://api.segment.io/v1/batch` endpoint is reserved for events arriving from server-side sending, and proxying to that endpoint for your mobile events may result in unexpected behavior.
164164
165165
> warning ""
166-
> If you are using the Analytics iOS (Classic) SDK, you can find [the documentation here](/docs/connections/sources/catalog/libraries/mobile/ios). Many of the features available in the Analytics-Swift SDK are not available in the Analytics iOS (Classic) SDK.
166+
> If you are using the Analytics iOS (Classic) SDK, you can find [the documentation here](/docs/connections/sources/catalog/libraries/mobile/ios). Many of the features available in the Analytics-Swift SDK are not available in the Analytics iOS (Classic) SDK.
167+
168+
## Timestamps in Swift
169+
Due to efficiency updates made to Segment's Swift library, Segment now adds the `sentAt` timestamp to an event when the batch is complete and initially tried to the Segment API. This can impact the value of the `timestamp` field calculated by Segment if users are operating in an offline mode. More details on this change can be seen in Segment's [timestamp documentation](/docs/connections/spec/common/#sentat).
167170

0 commit comments

Comments
 (0)