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

Should the server-side UID match the UID used in the React Native app? #842

Open
brightakin opened this issue Dec 6, 2024 · 1 comment

Comments

@brightakin
Copy link

When the token and channel name is created on the server side a UID is passed. This particular UID is a string but when I try to pass the exact same UID I get this error:

[2024-12-06 05:57:24.297][12123][E][IAgoraRtcEngine_wrapper.cc:1138] exception: [json.exception.type_error.302] type must be number, but is string.

This means that the UID should be a number. I tried passing 0 so that Agora generates a UID but the user was not able to join. I want to confirm if the server side UID needs to be the same as the UID from the client side which is react native in this case.

@guoxianzhe
Copy link
Contributor

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