Hi Dojo,
I'm working on an ad hoc data source that enables real-time updates. Everything functions well, but we encountered an issue where subscriptions are not removed. This occurs because, in the OnStopUpdates() method, we perform a .Reset, which creates a new connection. We need this since, from the LCA, we can select different elements, each displaying its own data to support real-time updates.
Is there a proper way to reset subscriptions so that, when the user selects a different element, these subscriptions reinitialize and point to the new elements? Alternatively, is there a way to dispose of the subscriptions? Here is a screenshot of the flow we attempted to follow using the OnStartUpdates, OnStopUpdates, and OnDestroy methods.
Thank you!