Skip to content
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

Java 使用官方案例生成token之后,IOS无法使用 #36

Closed
YouAnCao opened this issue Nov 28, 2019 · 3 comments
Closed

Java 使用官方案例生成token之后,IOS无法使用 #36

YouAnCao opened this issue Nov 28, 2019 · 3 comments

Comments

@YouAnCao
Copy link

使用官方文档生成token(使用string 类型的 uid),在IOS端没办法建立连接;
后面通过将传递的string类型的uid干掉,传入默认值0解决问题;另外IOS端建立连接不能使用string类型的uid;该方法是不是有问题。

@plutoless
Copy link
Contributor

iOS SDK如果需要使用string uid,需要使用joinChannelByUserAccount方法

@plutoless
Copy link
Contributor

如果用的是普通joinChannel方法,uid只能给int,这种情况下要用token builder的int uid生成方法生成token

@YouAnCao
Copy link
Author

感谢你解答,现在着手修改到你所提到的方法。

@YouAnCao YouAnCao reopened this Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants