-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are subscribedChannels
shared between PubNub instances
#159
Comments
Hi @akuzminskyi I assume you pass the same configuration object for all The idea was to ensure that regardless of how many Also, we encourage you to use one instance of |
The problem is that we can't because each channel has a unique cipher key. |
@akuzminskyi here's how you can solve it using one client instance. You can publish an encrypted message for a given channel and decrypt it in the listener's closure using
|
I can confirm the issue is not happening anymore in 7.1.0 for me. |
Hi, is it expected behavior?
I created two PubNub instances, and they both subscribed to different channels. but when I'm checking
pubnub.subscribedChannels
both instances have all changes but not only to which they are subscribed.sample:
Shouldn't it produce only channels to which we subscribed per PubNub instance?
SDK: 7.0.0
The text was updated successfully, but these errors were encountered: