AgoraIO-Extensions / react-native-agora

React Native around the Agora RTC SDKs for Android and iOS agora
https://www.agora.io
MIT License
625 stars 227 forks source link

joinChannel with uid is "string" (react native) #805

Closed duongquang1611 closed 3 months ago

duongquang1611 commented 3 months ago

I see the uid used in joinChannel on mobile (react-native) is number, is there a way to use uid as string on react native? Because our current system has guest users who can watch live stream and we need to join live stream as guest = self-generated uid is string so if on mobile uid is number then it seems we can't watch live stream

guoxianzhe commented 3 months ago

@duongquang1611 see https://github.com/AgoraIO-Extensions/react-native-agora/blob/main/example/src/examples/basic/StringUid/StringUid.tsx#L87