Introducing a fundamental change in our SDK architecture
2024-03
Our Swift, JavaScript, Kotlin, and Rust SDKs have all been released with these local listeners, allowing you to create finely tailored subscription objects subscribed to your choice of channels, channel groups, or user and channel metadata events. These new subscription objects operate independently allowing you to start or stop receiving channel data without disturbing other subscription objects. For example, when a user starts the application they can be added to generic channels to receive news or other information as a first subscription object. After they log in, they are added to custom channels tailored toward the user as a second subscription object. With the previous architecture when a user logged out and unsubscribed from the custom channels, the user would also be unsubscribed from the generic channels. However, with the new listener architecture you can independently unsubscribe from the custom channels while leaving the generic channel subscriptions intact. Visit our documentation to learn more.