AgoraIO-Extensions/Agora-Flutter-RTM-SDK

Login is successful only with Channel Name being in place of User ID

Closed this issue · 1 comments

With temp token, login is successful only when channel name is typed inside _userNameController.

And also, may I know what is meant by "Temp Token for audio/video call does not support RTM" when generating temp RTC token in agora project App Config.?
Without token, login is failed with "errorCode:5" [LOGIN_ERR_INVALID_TOKEN].

After googling around the documentation, found that temp token created from agora project is for channel only.

A unique token is required for each user in order to log into RTM system.

For production, that token have to be implemented by ourselves.
For testing purpose, you may want to visit the following token builder website to yield a token which expires in 24 hours.
https://webdemo.agora.io/token-builder/