VideoUIKit-ReactNative icon indicating copy to clipboard operation
VideoUIKit-ReactNative copied to clipboard

username is not displayed when passing token to connectionData

Open ledutu2 opened this issue 2 years ago • 0 comments

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 image

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"

ledutu2 avatar Oct 20 '22 09:10 ledutu2