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

The argument type 'String?' can't be assigned to the parameter type 'String' because 'String?' is nullable and 'String' isn't.

Open jatin-web opened this issue 1 year ago • 1 comments

Describe the bug I am getting this bug when I tried to run the basic code copied from agora_uikit package.

To Reproduce Steps to reproduce the behavior:

  1. Add the package to your project
  2. Add the Code mentioned in the package documentation in pub dev
  3. Run the project

Expected behavior Should run the project

Screenshots Screenshot 2023-09-30 at 2 00 56 PM

jatin-web avatar Sep 30 '23 08:09 jatin-web

I added userName to my AgoraClient and fixed this. AgoraClient( agoraConnectionData: AgoraConnectionData( appId: appId, channelName: callName!, tempToken: token, uid: calleeId, username: callName!), );

although I did not even updated my Agora package. I did see this bug but the problem is after I added this I get this error.

AgoraRtmChannel sendMessage failed errorCode: 102

ardeshir-33033 avatar Oct 04 '23 13:10 ardeshir-33033