I’m using the ui-kit-open-source in my project with TS and React. I integrated the community component AmityUiKitSocial and it’s working fine. But I can’t do it with AmityUiKitChat, it starts and I can see the messages but it freezes my browser doing infinite calls to start-reading and stopt-reading once I select one chat.
Any idea? I’m just using the default config for AmityUiKitChat.
Hello @OscarBC , Could you please confirm the platform and version you are using? Additionally, kindly provide the GitHub repository link, referring to this documentation: Changelogs | Amity Docs.
Thank you for providing the versions. We’re unable to reproduce this issue on our end. The start-stop reading calls are intentional for tracking the unread count, but they shouldn’t cause your screen to freeze.
Could you also please share a screenshot or screen recording of the log where you mentioned “my browser doing infinite calls to start-reading and stop-reading”? Are there any other errors you’re encountering?
Hello @OscarBC , For the issue you’re facing, after checking with our team, we have identified that this is a known issue. We recommend updating to version 3.8.0. For more details, please refer to the following link: Amity UIKit Changelog - Version 3.8.0.
I upgraded the version but is still happening. I removed and reinstalled node modules to be sure that nothing was cached but error persists. There is anything in the config I should change to prevent the error? Any ideas?
I was checking an VY is actually AmityUiKitProvider, I have that component wrapping my main view. I cleaned cache and everything but I still stuck there.
Hello @OscarBC , Please follow the steps outlined in the README file at the link below to resolve this issue. It provides detailed instructions for setting up the AmityUiKitProvider and other components: Amity Social Cloud UIKit - v3.10.0 ReadMe
Hello @OscarBC , We are pleased to inform you that the issue you reported has been resolved in version 3.10.1. , You can check and download the fix through this link: @amityco/ui-kit-open-source - npm
Please update to this version and let us know if everything works as expected. Should you encounter any further issues or need additional assistance, feel free to reach out.
I tried with npm i @amityco/ui-kit-open-source and following the instructions from @amityco/ui-kit-open-source - npm to make my own build. Both ways ends with the same issue.