I’ve faced the issue with signing up using Sendbird UIKit SDK
I’ve created a group channel from admin panel and then trying to connect to it from my code like that
appdelegate: (like on example)
SBUMain.initialize(applicationId: Constants.sendBirdAppId)
SBUGlobals.AccessToken = “”
vc:
SBUGlobals.CurrentUser = SBUUser(userId: userID, nickname: username)
SBUMain.connect { (user, error) in
guard error == nil else { return }
if error == nil {
SBDGroupChannel.getWithUrl("Some url") { (channel, error) in
guard error == nil else { return }
channel?.join(completionHandler: { (error) in
})
}
}
But there is an issue
Optional(Error Domain=Not authorized. “User must be a member.”. Code=400108 “(null)”)
But how can I be a member if can’t join that?(