When performing some channel actions using the ChannelCollection methods, these generate a lot of unnecessary network requests which slow my app down. This happens with joining a channel, leaving a channel, adding members, and removing members. What could be causing this?
I’ve had this behavior in ts-sdk v6.19, v6.25, and v6.30.
I also thought it might had something to do with babel transpiling async functions to generators but I disabled it and it still happens.
In this example, only the first request is from the actual leaveChannel method, the other are triggered by the onChannelLeft event, but I don’t know what’s triggering it so many times.
Hello @amezal , Our team was unable to reproduce the issue on our UIKit, so we recommend merging the latest version of the UIKit code into your repository and trying again. Please refer to this link for further details: https://docs.amity.co/amity-uikit/changelogs/changelog-2#version-3.10.0-2024-09-02. If you are still facing issues, please check on your UI side. If you need further assistance, feel free to let us know.
Hey, as I said it’s only based on the UiKit but it has months of modifications so pretty much not possible to merge with the latest version. Any other way you guys can help me?
Hey, so I set up a new clean app with the last version of the UiKit to see if I could isolate the issue and it definitely happens with the UiKit too. I made a video so it’s easier to see what I mean, top help your team reproduce the issue, hope it’s useful!
Hello @amezal , Thank you for sharing the details and the video—it’s definitely helpful for us to understand the issue better. Could you please provide the link to the UiKit repository that you are using? This will help us investigate further and reproduce the issue on our side.
@amezal Thank you for providing all the necessary information. We have forwarded it to the team for further investigation. We will keep you updated on the progress.