You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've got some questions that I wasn't able to glean easily from the documentation. I'm wondering if you could add some language to the docs to make some of these things a bit more clear for readers? :)
Request clarification on Connections:
When are connections active, relative to the application state on your smartphone? (Foreground, Background, Force Quitted, etc...)
e.g., if the app is still open but moved to the background, does the connection stay active for some time, or is it immediately killed?
Are there differences between iOS, Android, etc..?
Request clarification on Subscriptions:
Assuming a Channel is intended to be long-running (over days/weeks):
Does a Subscription persist across changes in application state and/or connection state?
Are you meant to subscribe/unsubscribe repeatedly to a long-running channel, based on your application state?
If a user unsubscribes to a Channel because of application state changes, will that stop them from receiving Push Notifications for that Channel?
If a Subscription is intended to be created once, and remain extant for the lifetime of the Channel itself (i.e., days/weeks), then what's the recommended way of persisting the Subscription (ARTEventListener) across the application lifecycle?
Otherwise, if Subscriptions are intended to be reestablished on application start, is it recommended to persist a list of Channels (ARTRealTimeChannel objects) in UserDefaults or equiv, and then resubscribe on application start?
How important is it to close connections and subscriptions on deinit() of whatever class you're keeping the Ably client in?
Request Clarification on Channels:
What are the conditions that make a channel active and inactive?
(e.g., is it determined by the number of open subscriptions?)
What if there are Inband Objects? How do they affect the Channel active status?
When does a Channel get deleted or garbage collected? Is that an automatic thing, or something that needs to be managed?
Page name: Quickstart guide
URL: /docs/getting-started/quickstart
Requested change or enhancement:
Hello, I've got some questions that I wasn't able to glean easily from the documentation. I'm wondering if you could add some language to the docs to make some of these things a bit more clear for readers? :)
Request clarification on Connections:
Request clarification on Subscriptions:
Request Clarification on Channels:
Thanks very much for the clarification :)