ably / ably-asset-tracking-android

Android client SDKs for the Ably Asset Tracking service.
Apache License 2.0
13 stars 6 forks source link

Option for publisher to only emit events sent over the Ably network #913

Open AndyTWF opened 1 year ago

AndyTWF commented 1 year ago

At the moment, the locations SharedFlow on the publisher is emitted to for any enhanced location update received by Mapbox, regardless of whether or not it was sent to subscribers over the Ably network. This can make testing problematic when we're comparing what the publisher sends and the subscriber receives. Customers listening may also only want to be notified of updates that have been sent out.

We could therefore make a way in which the publisher only emits events that have been sent over the Ably network, such as:

Original conversation: https://ably-real-time.slack.com/archives/C01EPJENRD0/p1673630012583289

sync-by-unito[bot] commented 1 year ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3250