ably / ably-asset-tracking-swift

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

Can’t re-add a trackable with same ID after removing it from publisher #431

Closed lawrence-forooghian closed 1 year ago

lawrence-forooghian commented 2 years ago

Steps to reproduce

This can easily be reproduced in the publisher example app.

  1. Add a trackable with ID 123.
  2. Remove the trackable.
  3. Try to add a new trackable with ID 123.

Expected outcome

The second trackable with ID 123 is added successfully.

Actual outcome

The second trackable with ID 123 cannot be added, failing with error unable to enter presence channel (incompatible channel state: Detached).

Demo

https://user-images.githubusercontent.com/53756884/196274402-aa0b0587-7118-4962-85fd-5f30283c98ae.mov

sync-by-unito[bot] commented 2 years ago

➤ Automation for Jira commented:

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