呼叫发送给两个具有不同用户 ID 的接收者

Call sent to two reciever with different userId

我们正在使用 sinch SDK(ios 和 android)。我们使用 phone 数字作为标识符。我们正在使用沙箱主机。 A、B 和 C 具有不同的 userId。 当 A 呼叫 B 时,我们发现了一个问题,这个呼叫被 B 和 C 接收到。 感谢提前

我终于找到了解决办法。注销时,您应该调用

        SinchManager.sharedInstance.sinchClient?.stopListeningOnActiveConnection()
        SinchManager.sharedInstance.sinchClient?.terminateGracefully()

调用 terminateGracefully() 是不够的。 iOS SDK

中应该有错误

如果您正在使用推送,您还应该取消注册推送数据,以避免在您登录和退出应用程序时出现这种情况。

https://download.sinch.com/docs/iOS/latest/reference/html/Protocols/SINClient.html#//api/name/unregisterPushNotificationData 如果你自己推送 https://download.sinch.com/docs/iOS/latest/reference/html/Protocols/SINClient.html#//api/name/unregisterPushNotificationDeviceToken 如果您使用托管推送