Describe the bug
Vodworks have been trying to use the SDK to have a user join a specific channel that they have created. However, the SDK does not return anything, not even an error message.
To Reproduce
Below are the codes that they have used in their attempt to make a user join a specific channel.
Expected behavior
The SDK should be able to add a user to a specific channel.
Smartphone (please complete the following information):
When calling observe(:_) there will be a return value EkoNotificationToken . This token needs to be declared globally to keep its reference and waiting for live object emitting.
// global scope
var globalChannelToken: EkoNotificationToken?
var channelToken: EkoNotificationToken?
func setup() {
globalChannelToken = globalChannel.observe { // assign to a token to keep reference of this observation
...
}
channelToken = globalChannel.observe {
...
}
}