VideoUIKit-ReactNative
VideoUIKit-ReactNative copied to clipboard
username is not displayed when passing token to connectionData
Currently I am having 1 issue about aogra-ui-kit. If I pass tokenUrl into connectionData, username's displayed. If I pass token into connectionData, username's not displayed anymore. I checked in source code, and I see when I pass tokenUrl, then 2 events "MessageReceived" and "ChannelMessageReceived" will be listened, and username will be set, else if I pass token, then 2 events will be not listened.
Path in this image: agora-rn-uikit/src/RtmConfigure.tsx
it's in init() function
Has anyone come across this situation? This is the version I used:
- "react-native-agora": "^3.5.3"
- "agora-react-native-rtm": "^1.5.0"
- "agora-rn-uikit": "^4.0.0"